A fun and challenging japanese puzzle game. My implementation was inspired by this website.
You have to divide the grid into rectangular pieces such that each piece contains exactly one number, and that number is equal the area of the rectangle. (Source)
Python version 3.10 is required.
Install necessary packages with
python -m pip install -r requirements.txt
To start the game, run python shikaku.py
.
Create new rectangles by clicking and dragging the mouse, delete rectangles simply by clicking them.
Alternatively, use the arrow keys to navigate: Press Space to start creating a rectangle, resize using the arrow keys and press Space again to confirm. To delete a rectangle under the cursor, press D. While resizing, use Ctrl+<Arrow Key> to auto-fill.
Have fun!
This is what a solved game might look like: