This a Python3 (Flask) & JS based board game which leverages Webhooks for communication. You can play it here
to install this projects dependancies, navigate to the project directory and execute pip3 install -r requirements.txt
After you've installed the dependancies, you can run the project by simply running python3 app.py
which will launch the Flask development server.
Note: The flask development server is meant for development only and should not be used in production.
- The game is played between 2 players (Red & Blue) and the objetive of the game is to capture the maximum number of green squares and convert them into their color.
- The game starts with Red player making the first move by clicking on any square on the empty green borad. And then the Blue player makes his move.
- Everytime you click a square, the squares adjacent to it in all the directions are convert into your color.
- The players can only click on empty green sqaures and not on other player's captured square.
- The game is won when all the squares are captured by both the players and the player with maximum sqaure of his color wins.