original snake game forked from github.com:rwieruch/react-snake.git`
- uses:
- only React (create-react-app)
git clone https://github.com/haohaowasky/react-snake.git
cd react-snake
npm install
npm start
- visit http://localhost:3000/
- The moving dot will automatically drive to the blue dot controlled by smart contract
- it is a simulation of self driving car that controlled by smart contract.
- So the smart contract not only can be the public ledger, but also a trusted code for hardware.