Decentralized application for a tic-tac-toe game.
You can run docker build -t tic-tac-toe .
to build the tic-tac-toe docker image.
Prerequisite: please install docker on your system.
To set up and play your tic-tac-toe game, you can:
- start the ganache test chain
docker run -p 8545:8545 -d trufflesuite/ganache-cli:latest -g 0
- start the web server
docker run -p 8080:8080 -d tic-tac-toe
- open
http://localhost:8080/
in two separate web browsers with each a separate Metamask installed, and enjoy the game. On Chrome you can create two different users and install Metamask in each. You'll need to configure Metamask to connect to your local chain as well.