About the game
Takuzu is a simple yet challenging logic game. Also called binairo, it is very similar to sudoku. The goal is to fill a grid with 0 and 1, respecting the following rules:
- There must be the same number of 0 and 1 in each row and each column.
- There must be no more than two consecutive 0 or 1 in each row and each column.
- There must be no identical rows or columns.
Here is an example of a solved grid:
Implementation
This project involved a comprehensive technology stack, including:
- Angular for the interactive front-end, providing a dynamic and user-friendly interface.
- a web server powered by Nginx on my VPS, ensuring robust and efficient hosting of the game.
- Django and Gunicorn for the API serving game grids to users.
- Python to generate the game grids through a backtracking algorithm (see this computerphile video for more details).
Play the game
Feel free to play the game, but beware: the grids can be very challenging! Start with a 4x4 grid and slowly move on to bigger ones.