Fun game of Four In A Row coded in python. All moves are transmitted using NANO transactions.
git clone https://github.com/jamescoxon/nano_four_in_a_row --recursive
cd nano_four_in_a_row
sudo apt-get install python3-pip
pip3 install -r requirements.txt
python3 play.py
Get a second player and perform the following steps:
- Take note of the account address that the game gives you.
- Send 0.000001 nano to that account (NOTE: you only need to do this once, not for every game!). The QRcode already has the correct amount if you scan it with a phone wallet.
- Choose player 1/2 (if you're player 1, you should wait until player 2 has started the game)
- Paste the account that your opponent gives you, and give him yours
- Wait for the game's instructions
- Have fun!