Pentago React Native
Definition and rules from Wikipedia :
Pentago is a two-player abstract strategy game invented by Tomas Flodén. The Swedish company Mindtwister has the rights of developing and commercializing the product. The game is played on a 6×6 board divided into four 3×3 sub-boards (or quadrants). Taking turns, the two players place a marble of their color (either black or white) onto an unoccupied space on the board, and then rotate one of the sub-boards by 90 degrees either clockwise or anti-clockwise. A player wins by getting five of their marbles in a vertical, horizontal or diagonal row (either before or after the sub-board rotation in their move). If all 36 spaces on the board are occupied without a row of five being formed then the game is a draw.
Prerequisite
Docker is installed on your machine.
Installation
make install
Then generate env file by typing :
make init-env
Check informations in the .env
file.
Usage
make start
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
make test
To learn more about the contributions to this project, consult the contribution guide.
Maintainer
License
Pentago-react-native is licensed under the MIT License, courtesy of Marmelab.