Unity.Rea.Ricochet/SPEC
Unity.Rea.Ricochet — Product specification
The complete product, written down before it is built (owner, 2026-11-30, MAT-T360). Every epic, feature and story the finished product will have is listed here, built or not. The ticket tree mirrors this file one to one: every ID below is a ticket. Nothing gets built unless it is here, and anything taken out of here is closed wont-do in the tree.
docs/RELEASE.mdsays which part of this the current milestone delivers.
1. Product definition
A product in docs/ECOSYSTEM.md (Games): a Unity.Rea faithful port; owner rule: fix bugs only, never change the gameplay. A faithful Unity 6 rebuild of the 2013 GameMaker game Ricochet: turn-based bounce-shot artillery for human and AI tanks, aimed off the level's shapes and the border, with real networked multiplayer (host, join by IP or by code) in place of the original's one shared keyboard. It is for the owner and friends who want the original back, playable online. The finished product is every room of gmlricochet playing as the original did in a deployed Windows Release player, online play by IP and by code, and the owner's sign-off. Owner rule: resurrect the original faithfully, fix bugs only, never change the gameplay.
2. Scope boundary
2.1 In the product
- Every room, rule, weapon, item, hazard, announcer line, screen and asset of the original (RECONSTRUCTION.md §7).
- Networked play on the Unity.Multiplayer kit: authority, reconnect, votes, host and join by IP or code over Relay.
- The MindAttic Unity rebuild standard: engine-free Core, commands and events, data, Input System, URP, real UI.
- Development and Release Windows players on
R:\MindAttic\Apps\Unity.Rea.Ricochet, CI on a Unity license.
2.2 Never in the product
- Any gameplay change. The spikes behind data flags (power meter, smart AI, map room, wild vortex, 16 seats, even shotgun, bouncing teleporter, redirector to range, item effect first, per-map hazards, kit menu layout over the arena) stay off by default and get no further work: the owner rule forbids changing the gameplay.
- New weapons, items, maps, modes or AI behaviour that the original did not have.
- Mobile, console or store builds: the product is an internal Windows player.
3. Users and roles
- Player: plays a match locally or online, human or with AI seats.
- Host: sets up the players, AI, map and rules, and hosts the match.
- Owner: verifies parity by play and signs off the faithful port.
- Maintainer: keeps the rebuild standard, the docs and the deploy working.
4. Requirements
Status is built (closed ticket, with evidence) or MS-49, the active milestone and the finished product. Every built story's acceptance is the same: in the built player it behaves as RECONSTRUCTION.md records for the original, and its legacy story (named in brackets) is marked done in USER_STORIES.md.
E1. The original game, rebuilt — U.RICO-T190 — built
F1.1 Match and arsenal — U.RICO-T191 — built
- S1.1.1 — U.RICO-T192 — built (U.RICO-US-CORE1). As a player, I aim with an angle and power meter and see my shot's likely ricochet path off borders and redirectors before I fire, the way the 2013 original's aim/bounce-preview did.
- S1.1.2 — U.RICO-T193 — built (U.RICO-US-CORE2). As a host, I set up to 16 players (any mix of human and AI) with names, colours and per-player health, and play proceeds through a visible turn order with a turn timer.
- S1.1.3 — U.RICO-T194 — built (U.RICO-US-CORE3). As a player, I cycle through a weapon and item loadout, throw fused grenades, and pick up random weapon/item/health drops spawned on the level.
- S1.1.4 — U.RICO-T195 — built (U.RICO-US-CORE4). As a player, I contend with level hazards carried over from the original: a destructible shield wall, a vortex detonation, electricity and laser obstacles, and destructible borders/foliage.
- S1.1.5 — U.RICO-T196 — built (U.RICO-US-CORE5). As a player, I can fill empty seats with AI opponents whose count and aim-assist level I control before the match starts.
- S1.1.6 — U.RICO-T197 — built (U.RICO-US-CORE6). As a player, I see announcer commentary (portrait + name box) between turns and a HUD showing scores, turn time, and the current weapon/item.
- S1.1.7 — U.RICO-T198 — built (U.RICO-US-CORE7). As a player, I move through title, player setup, map/room select, settings, controls, how-to-play and credits screens, and see an endgame recap, matching the original's room flow.
- S1.1.8 — U.RICO-T199 — built (U.RICO-US-CORE8). As a player, my display name, colour and audio settings come from my MindAttic profile (Unity.Shared) instead of being re-entered every session.
F1.2 Original look and sound — U.RICO-T200 — built
- S1.2.1 — U.RICO-T201 — built (U.RICO-US-PAR1). As a player, my last match setup (players, AI, skills, names, map, goal and every rule) is remembered between sessions, as the original's config.ini was.
- S1.2.2 — U.RICO-T202 — built (U.RICO-US-PAR2). As a player, a round starts with a Ready card showing whose turn it is, a sonar ping on their tank and a short hold before the clock runs, as the original did every turn.
- S1.2.3 — U.RICO-T203 — built (U.RICO-US-PAR3). As a player in a match, I can pause with Esc and see Resume, Randomize, Music and Quit round, as the original's pause menu offered.
- S1.2.4 — U.RICO-T204 — built (U.RICO-US-PAR4). As a player, tanks, shots and the level are drawn with the original's art (sprites, backgrounds and fonts imported and used), not placeholder shapes.
- S1.2.5 — U.RICO-T205 — built (U.RICO-US-PAR5). As a player, I see the original's tank: a turret that turns over a hull, and tracks left behind when it drives.
- S1.2.6 — U.RICO-T206 — built (U.RICO-US-PAR6). As a player, each round has its own backdrop: one of the original's 64 backgrounds in three groups, drifting clouds, soft spotlights and coloured lights.
- S1.2.7 — U.RICO-T207 — built (U.RICO-US-PAR7). As a player, shots look like the original's: beams, rings, swirls, fuses, electricity and glows.
- S1.2.8 — U.RICO-T208 — built (U.RICO-US-PAR8). As a player, hits and knock-outs have the original's effects: explosions, scorch marks, shattering glass, flying score text and falling crates with smoke.
- S1.2.9 — U.RICO-T209 — built (U.RICO-US-PAR9). As a player, the bottom bar shows the original's weapon and item icons with counts, tooltips, the angle readout, turn arrow and aiming guide.
- S1.2.10 — U.RICO-T210 — built (U.RICO-US-PAR10). As a player, every action has the original's sound, not a synthesised blip.
- S1.2.11 — U.RICO-T211 — built (U.RICO-US-PAR11). As a player, the announcer speaks: each of the seven personalities' recorded welcome, win and lose lines play with their portrait and name box.
- S1.2.12 — U.RICO-T212 — built (U.RICO-US-PAR12). As a player, the title screen is the original's: the animated RICOCHET letters over its backdrop with music, then the main menu in the same style.
- S1.2.13 — U.RICO-T213 — built (U.RICO-US-PAR13). As a player, moving between screens fades as the original's rooms did.
- S1.2.14 — U.RICO-T214 — built (U.RICO-US-PAR14). As a player, the controls and how-to-play screens show the original's keyboard picture and slide images.
- S1.2.15 — U.RICO-T215 — built (U.RICO-US-PAR15). As a player, the credits roll over the original's credits image with its font.
- S1.2.16 — U.RICO-T216 — built (U.RICO-US-PAR16). As a player, the endgame shows the winners on the original's podium with confetti and the victory music.
- S1.2.17 — U.RICO-T217 — built (U.RICO-US-PAR17). As a player, the game opens with the original's studio splash and startup credits, in this project's own words.
E2. Networked match — U.RICO-T218 — built
F2.1 Authority and votes — U.RICO-T219 — built
- S2.1.1 — U.RICO-T220 — built (U.RICO-US-NET2). As a player, turn order, aiming inputs, shot resolution and damage are server-authoritative and replicated to every client, replacing the original's single-PC hotseat turn-passing.
- S2.1.2 — U.RICO-T221 — built (U.RICO-US-NET3). As a player who drops mid-match, my seat and health are held for the reconnect grace period and I resume on the same turn if I reconnect in time.
- S2.1.3 — U.RICO-T222 — built (U.RICO-US-NET4). As a player, I can start a restart or kick vote through NetVotes with the same overlay the house front end provides.
E3. Modern Unity foundation — U.RICO-T223 — built
F3.1 Rebuild standard — U.RICO-T224 — built
- S3.1.1 — U.RICO-T225 — built (U.RICO-US-STD1). As a maintainer, every assembly is named for this game and sits behind a hard one-way boundary (Ricochet.Core <- Ricochet.Runtime <- Ricochet.Editor and tests), so nothing is still called MyGame.
- S3.1.2 — U.RICO-T226 — built (U.RICO-US-STD2). As a maintainer, the game's rules change state only through commands that produce events, and presentation reads state and plays the events, so a networked client, a replay and a test all drive the same path.
- S3.1.3 — U.RICO-T227 — built (U.RICO-US-STD3). As a designer, every tuning number and every piece of content (rules, weapons, items, maps, announcer lines, slides, names) is a data file validated on load, not a constant in behaviour.
- S3.1.4 — U.RICO-T228 — built (U.RICO-US-STD4). As a player, the game reads input through the Unity Input System with rebindable actions, so a controller or a rebind works and nothing depends on the legacy Input Manager.
- S3.1.5 — U.RICO-T229 — built (U.RICO-US-STD5). As a player, the game renders through URP with a pipeline-agnostic layer, so quality tiers and platforms work and no code names a render pipeline.
- S3.1.6 — U.RICO-T230 — built (U.RICO-US-STD6). As a player, the HUD and every overlay are real UI (UI Toolkit or the shared MindAttic components), so it scales, themes and sits in the right order over menus.
- S3.1.7 — U.RICO-T231 — built (U.RICO-US-STD7). As a maintainer, the two largest runtime classes are split into small single-purpose components, so each can be read and tested.
- S3.1.8 — U.RICO-T232 — built (U.RICO-US-STD9). As a reader, the README and BIBLE describe the finished game, its laws and its verified state, with nothing stale.
E4. Faithful port — U.RICO-T176 — MS-49
Every room of gmlricochet plays as the original in the built player, verified by a real play-through.
F4.1 Room parity with the original — U.RICO-T177 — MS-49
- S4.1.1 Splash room on black — U.RICO-T167 — MS-49. As a player, the studio splash is drawn on the original's bg_black, not the silver room colour. Acceptance: given the Release player, when it starts, then the splash stage sits on black as
rooms/splashscreen.room.gmxdoes. - S4.1.2 Scrolling credits backdrop — U.RICO-T168 — MS-49. As a player, the startup credits scroll over the tiled bg_titlescreen moving 1 px a step. Acceptance: given the startup credits room, then bg_titlescreen scrolls right under the credits image.
- S4.1.3 Confirmed bugs fixed — U.RICO-T173 — MS-49. As a player, every confirmed bug against RECONSTRUCTION is fixed without changing gameplay. Acceptance: each fix names its RECONSTRUCTION row and a build passes.
F4.2 Parity play-through — U.RICO-T178 — MS-49 (carries legacy U.RICO-US-PAR18)
- S4.2.1 Working autowalk — U.RICO-T166 — MS-49. As the owner,
-autowalkwaits out the splash and credits and captures every room, including the endgame recap. Acceptance: given an autowalk run, then 00-splash to 13-endgame are distinct, correct screens. - S4.2.2 End-to-end verification — U.RICO-T165 — MS-49. As the owner, every room and mode is reached and played start to finish and recorded in RECONSTRUCTION §7, with a fix ticket for every gap. Acceptance: RECONSTRUCTION §7 records the run and no open gap.
E5. Online play — U.RICO-T179 — MS-49 (carries legacy U.RICO-US-NET1)
Host and join by IP or by code over Unity Relay (BIBLE product promise).
F5.1 Relay service connected — U.RICO-T180 — MS-49
- S5.1.1 Project linked with Relay — U.RICO-T62 — MS-49. OWNER ACTION: link the project to a Unity Cloud project with Relay on. Acceptance: Project Settings > Services shows the linked project and Relay enabled.
F5.2 Join by code — U.RICO-T181 — MS-49
- S5.2.1 Join by code between two builds — U.RICO-T22 — MS-49. As a player, I join a hosted match with its short code. Acceptance: given two built players, when one hosts and the other enters the code, then both play the match.
E6. Windows release — U.RICO-T182 — MS-49
Players deployed on R:, CI running, owner sign-off. This is the polish-and-release epic of the finished product.
F6.1 Installed Windows players — U.RICO-T183 — MS-49
- S6.1.1 Debug and Release players deployed — U.RICO-T174 — MS-49. Acceptance:
run.ps1 -Redeployputs both players underR:\MindAttic\Apps\Unity.Rea.Ricochetand both launch.
F6.2 Every push verified — U.RICO-T184 — MS-49 (carries legacy U.RICO-US-STD8)
- S6.2.1 License secret — U.RICO-T164 — MS-49. OWNER ACTION: add the UNITY_LICENSE secret so CI runs the EditMode, PlayMode and Windows build jobs. Acceptance: a push runs the unity job green.
F6.3 Owner sign-off — U.RICO-T185 — MS-49
- S6.3.1 Owner plays the Release player — U.RICO-T186 — MS-49. OWNER ACTION: menu, players, a match and the endgame recap, end to end. Acceptance: the owner signs off MS-49 or files what is wrong.
5. Non-functional requirements
- Windows 64-bit, Unity 6000.4, URP behind a pipeline-agnostic layer; Netcode for GameObjects on Unity Transport.
- Core is engine-free C# tested with
dotnet test; every tuning number and all content are validated data. - Profiles, names, colours and volumes come from Unity.Shared; no secrets in the repo.
- Verification is build-only for agents; the owner's play-through and the harness prove parity.
6. Interfaces and dependencies
- Platform repos used, by concern (
docs/ECOSYSTEM.md§2.1): engine kits: Unity.Shared (profiles, settings, headless mode) and Unity.Multiplayer (online host and join); shipping: the shared run menu. Installed players require Unity.Shared's stable package (MAU-T25); online play requires Unity.Multiplayer release 3 (UM-T98). - Uses Unity.Multiplayer (net front end, Relay, votes), Unity.Shared (profiles, settings, launcher), MindAttic Components (UI), MindAttic.Media.Capture (screens), the shared run menu in MindAttic.Agency's deploy-lib.
- Source of truth: the original GameMaker project gmlricochet, recorded in RECONSTRUCTION.md. Nothing consumes it.
7. Release sequence
- MS-49 Unity.Rea.Ricochet faithful playable port (active): E4 Faithful port, E5 Online play, E6 Windows release (its polish-and-release epic). Reaching it finishes the product: the original is resurrected and online.
8. Change log
| Date | Change to scope | Ticket |
|---|---|---|
| 2026-11-30 | Specification written from README, BIBLE, RECONSTRUCTION, the code and the ticket history; 36 built legacy stories filed as closed tickets | MAT-T379 |
| 2026-11-30 | MAT-T462 single-source pass: 4 renamed (renamed to capabilities (features named for an install path or an activity), summaries stripped of paths, scripts and class names), 0 buckets dissolved, 7 requires added (2 cross-repo to the Unity platform kits), 0 platform re-points (the game already uses the owner kits; links make the order explicit) | MAT-T473 |