Blockchain Monopoly is a dapp for playing Monopoly games!
Blockchain Monopoly utilizes the blockchain for verification and transparency, as well as utilizing a state channel to reduce the load on the blockchain network (Start and End of games are recorded on the blockchain and the state channel takes care of all games in progress).
- Players can buy Monopoly Tokens through a smart contract to buy-into a game.
- Players can create or join games.
- Once a game starts all the moves are verified off-chain
- All the game logic is handled on the server
- When a game ends all the moves and game state history are hashed and published on-chain.
- Players can view past game histories and view each move of a game. They can verify that the game or move happened as recorded on the blockchain throuh a merkle proof.
- Players can view a leaderboard to showcase the best players and incentivize players to win.
- Magic
Blockchain Monopoly is deployed on heroku and can be found here: https://blockchain-monopoly.herokuapp.com/
- ejs
- Bootstrap
- Node
- Express
- MongoDB
- mlab
- Mongoose
- Embark
- Ethersjs
- Deployed on the kovan testnet
Follow these steps to run the app locally. Note that the database is running on the cloud mlab.
Blockchain Monopoly requires Node.js v4+ to run.
Install the dependencies and devDependencies and start the server.
$ cd Blockchain_Monopoly
$ npm install
Start the server
$ npm run start
MIT
Free Software, Hell Yeah!