Files
Ratdoku/README.md
T
Ratdoku Builder f957cd3c4e 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.
2026-12-02 10:32:45 -06:00

94 lines
3.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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 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
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.
## 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**. 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
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, 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 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
```
## Save data
`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.2.0-alpha.apk` is a debug-signed, arm64-v8a build:
- Package: `com.ratdoku.game`
- Version: `0.2.0` (version code 2)
- Portrait orientation