DodgerBox: A 2D Game that uses an Ethereum smart contract to maintain a directory of players and their high scores. You are a square box at the center of the game. Your job is to use your arrow keys to shield yourself from the enemies! Metamask transactions are required to update and retrieve the player's high score.
Enemies are flying towards you from all directions. To survive the game you must use your arrow keys (up, down, left, right) to toggle the shields on each side of your player. If you are hit by an enemy, you lose a life, of which you have 3. You get a point for each enemy you block with your shield.
buildcontains the contract ABI's in JSON formatclientcontains the front-end codecontractscontains the Solidity Smart Contractsmigrationscontains migration informationtestcontains the truffle tests
- https://dodgerbox.netlify.app/
- You will need a test account in Metamask on the Ropsten Network
ganache-cli- make sure it is running on port
8545
truffle migrate --reset
truffle test
- You will need a test account in Metamask on the Ropsten Network
cd clientnpm installnode server.js- navigate to localhost:3000