npm install
The idea is to concur as much surface as possible while avoiding collision with opponent and not stepping into own land.
- Start game by running
node index.js
- Copy printed out public key
- Exchange keys with friend/peer
- Provide coordinates into cli in format
<X>,<Y>
, where both coordinates are in[0, 10]
The game ends when either side collides with opponent or moves into own territory. The winner is identified by size of covered surface.
Enjoy!