70 lines
2.3 KiB
Markdown
70 lines
2.3 KiB
Markdown
# Ratdoku — v0.1.0-alpha "First playable"
|
||
|
||
A cozy rat-hotel logic puzzle. Every guest gets a room, a floor, a corridor, and a little space from the neighbours.
|
||
|
||
This is the reconstructed first playable alpha: **20 rooms**, the Crumb head token on the board, and the core Home → Game loop. The Guest Book, Settings, and House Rules screens did not exist yet.
|
||
|
||
## Run it
|
||
|
||
1. Install **Godot 4.7 or newer** (standard edition, not .NET).
|
||
2. Open this folder in Godot (`project.godot`).
|
||
3. Press **F5**.
|
||
|
||
The project uses a portrait 720×1280 canvas, scaled to a 540×960 desktop window.
|
||
|
||
## How to play
|
||
|
||
- **Tap / left-click** a cell to mark it with an X. Tap an X or a guest to clear it.
|
||
- **Press and hold** (mobile) or **right-click** (PC) to check a guest in.
|
||
- **Undo**, **Restart**, and **Hint** are at the bottom.
|
||
- A **gold ring** around a guest means they are already checked in and cannot be moved.
|
||
- Win when every room, floor, and corridor has exactly one rat and no two rats touch — even diagonally.
|
||
- **No guessing is required.** Every room has exactly one solution.
|
||
|
||
Every rat uses Crumb's head token in this alpha; per-room guest tokens arrived with the Guest Book.
|
||
|
||
## Levels
|
||
|
||
`data/levels.json` contains **20 verified 8×8 puzzles**, each starting with three gold-ringed guests.
|
||
|
||
## Project layout
|
||
|
||
```
|
||
scenes/
|
||
Main.tscn entry point + screen navigation
|
||
Home.tscn title screen
|
||
Game.tscn board screen + HUD + win overlay
|
||
Board.tscn custom-drawn board
|
||
scripts/
|
||
Main.gd navigation/back stack
|
||
Home.gd home screen
|
||
Game.gd level flow, timer, win overlay
|
||
Board.gd drawing, input, undo, hints
|
||
Rules.gd pure win/conflict rules
|
||
Levels.gd JSON level loader
|
||
Guests.gd guest manifest loader
|
||
SaveGame.gd autoload: settings + progress
|
||
Palette.gd colours
|
||
UI.gd button/label/panel helpers
|
||
RatPortrait.gd fallback vector mascot
|
||
art/
|
||
crumb.png, crumb_head.png
|
||
guests/{cards,thumbs,heads}/<id>.png
|
||
data/
|
||
levels.json 20 verified 8×8 puzzles
|
||
guests.json 25 guest entries
|
||
tutorial.json 5×5 practice puzzle
|
||
```
|
||
|
||
## Save data
|
||
|
||
`user://ratdoku_save.json` stores completed rooms, `last_room`, and settings.
|
||
|
||
## Android APK
|
||
|
||
`build/Ratdoku-v0.1.0-alpha.apk` is a debug-signed, arm64-v8a build:
|
||
|
||
- Package: `com.ratdoku.game`
|
||
- Version: `0.1.0` (version code 1)
|
||
- Portrait orientation
|