How to Play?
- Google Chrome Browser
- Metamask Extention, install it here
- Set your network in metamask to Ropsten
- If you don't have any ether in your account, get some for free here or here
- Since this is only a protfolio project, chances are that you are here to checkout the developer talent and not actually bet your ETH.
- Simply open this in another tab, you can click here.
- Play as player 1 in one tab by creating a new game.
- Play as player 2 in the other tab by joining the game.
- Click on button 'Connect To Metamask'
- In the metamask popup, click 'Connect'
- Click 'New Game'. Enter the amount you want to bet in ETH. Click 'Submit'
- Wait till you transaction is minned. This can take around 30 seconds.
- Game ID will appear on the screen after minning is done. Share this Game ID with your opponent
- Game will Start automatically after your opponent join's
- Click on button 'Connect To Metamask'
- In the metamask popup, click 'Connect'
- Click 'Join Game'. Enter the Game ID shared by your opponent. Click 'Submit'
- Wait till you transaction is minned. This can take around 30 seconds.
- Game will Start automatically after the transaction is minned.
- The message below the board will tell you if it is your turn or not.
- To make you move, click any box inside the board.
- In the metamask popup, click 'Sign'
- Game will end automatically if there is a winner or draw.
- If the game ended in draw, then you will be refunded the amount you bet.
- If you won, you will be credited the twice the amount you bet
- Nothing will be credited if you lost.
- Please note, only in the case anyone wins, 10% of the total bet will be charged as commission.