v0.2.0-alpha: Guest Book and House Rules

Adds the Guest Book, Settings, House Rules, and guest unlocks on the 20-room board. Rats still use the shared Crumb token.
This commit is contained in:
Ratdoku Builder committed 2026-12-02 10:32:45 -06:00
1 parent f4b4a773f3
commit f957cd3c4e
19 files changed
+905 -34

No files matched your search

+51 -27
View File
@@ -1,8 +1,8 @@
# Ratdoku — v0.1.0-alpha "First playable"
# Ratdoku — v0.2.0-alpha "Guest Book & House Rules"
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.
This alpha has **20 rooms**, 25 guests, the Guest Book, Settings, and House Rules. Every rat on the board still uses the shared Crumb head token; per-room guest tokens arrived in v0.3.
## Run it
@@ -21,49 +21,73 @@ The project uses a portrait 720×1280 canvas, scaled to a 540×960 desktop windo
- 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.
## Screens
- **Home** — Crumb, Check in, Guest Book, House Rules, Settings.
- **Game** — board, timer, undo/restart/hint, win overlay with the newly unlocked guest.
- **The Guest Book** — 25 guests: five residents unlocked from the start, the other 20 unlocked one per room. Locked cards show a faint portrait under `???` and their room number.
- **Settings** — region patterns, timer, reduce motion, hold-time slider, reset progress.
- **House Rules** — four illustrated rules, controls, tips, FAQ, and an interactive 5×5 practice board.
## Unlocks
- **Residents** (available from the start): Miso, Hilde, Pip, Nana Fig, Biscuit.
- **Room guests**: Pepper (Room 1) through Marmalade (Room 20).
- Completing a room unlocks its guest and adds a “New guest” card to the win overlay.
- Crumb is the host and has a pinned card; she is not one of the 25.
## Levels
`data/levels.json` contains **20 verified 8×8 puzzles**, each starting with three gold-ringed guests.
`data/levels.json` contains **20 verified 8×8 puzzles**. Every board is generated from a legal solution, split into eight connected rooms, and checked for a single solution. Each starts 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
Main.tscn entry point + screen navigation
Home.tscn title screen
Game.tscn board screen + HUD + win overlay
Board.tscn custom-drawn board
GuestBook.tscn gallery
Settings.tscn settings
Rulebook.tscn house rules + interactive tutorial
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
Main.gd navigation/back stack
Home.gd home screen
Game.gd level flow, timer, unlock flow, win overlay
Board.gd drawing, input, undo, hints, settings
Rules.gd pure win/conflict rules
Levels.gd JSON level loader
Guests.gd guest manifest loader
SaveGame.gd autoload: settings + progress
GuestBook.gd gallery, locked cards, detail sheet
Settings.gd settings toggles + reset
Rulebook.gd handbook content + 5×5 tutorial
MiniDiagram.gd rule illustrations
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
crumb.png full mascot
crumb_head.png circular head token
guests/
cards/<id>.png 512 detail portraits
thumbs/<id>.png 256 gallery thumbnails
heads/<id>.png 256 circular board tokens
data/
levels.json 20 verified 8×8 puzzles
guests.json 25 guest entries
tutorial.json 5×5 practice puzzle
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.
`user://ratdoku_save.json` stores completed rooms, unlocked guests, `last_room`, and settings. “Reset progress” clears rooms and unlocks but keeps settings.
## Android APK
`build/Ratdoku-v0.1.0-alpha.apk` is a debug-signed, arm64-v8a build:
`build/Ratdoku-v0.2.0-alpha.apk` is a debug-signed, arm64-v8a build:
- Package: `com.ratdoku.game`
- Version: `0.1.0` (version code 1)
- Version: `0.2.0` (version code 2)
- Portrait orientation