Formal Specification
Red Light (traditional Norwegian stop-and-go stealth racing game; also known as Grønt lys, rødt lys) — Formal Specification
Norway · chase-tag · Confidence: low
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: discretizedGap-fills: 9
# Rødt lys — AI-optimized specification
## General idea
Rødt lys ("Red Light") is a stop-and-go stealth racing game. A designated Leader faces away at a finish line during "green light" intervals while runners sprint forward. When the Leader calls "Rødt lys!" and spins around, runners must brake instantaneously into complete immobility; any runner detected in motion is penalized by being reset to the start line. The first runner to touch the finish line wins.
## Formal model
- **Abstraction taken:** The linear sprint track is discretized into 1D coordinates with meters [gap-fill]. Time is divided into alternating phases: Green Light (variable duration during which runners accelerate and sprint) and Red Light (an instantaneous freeze check where residual velocity triggers detection).
- **Player/agent count:** 3 to 20 agents (1 Leader, Runners). Standard model: 5 agents (1 Leader, 4 Runners).
- **Turn model:** Phase-based round. Continuous or fine-tick movement during green phases, evaluated against Leader detection checks during red freeze triggers.
## Formal rules
R1. **Initial Setup:** All Runners start at with velocity . The Leader is stationed at facing away (`ORIENTATION_AWAY`).
R2. **Green Phase Call:** The Leader selects a green phase duration seconds [gap-fill] and begins reciting the cadence.
R3. **Runner Sprinting & Deceleration:** During the green phase, runners choose acceleration up to m/s [gap-fill]. When braking, deceleration is bounded by m/s [gap-fill].
R4. **Red Light Freeze Trigger:** At the end of , the Leader calls `RODT_LYS` and transitions to `ORIENTATION_FACING_RUNNERS`.
R5. **Inspection & Penalty:**
- The Leader inspects all runners. Any runner whose velocity ( m/s [gap-fill]) or who commits a balance wobble ( [gap-fill]) is detected.
- Any detected runner is penalized: , (sent back to start).
R6. **Victory Condition:** The first runner to achieve without committing an undetected violation during a red freeze wins the round immediately and becomes the Leader for the next game.
R7. [gap-fill] **Max Green Cycles Cap:** If green-red cycles elapse without a winner, the runner closest to wins the round.
## Edge cases
- **Tie at the end condition:** If multiple runners cross simultaneously during the same green phase, the runner with the largest coordinate wins; if identical, shared victory [gap-fill].
- **A player with no legal move:** Not applicable; runners choose acceleration/braking dynamically.
- **Repetition / cycles:** Resets to can create cycles; bounded strictly by the max cycle cap [gap-fill].
- **Simultaneous claims on the same resource or position:** Multiple runners can share the same longitudinal coordinate ; lane collisions are ignored in the 1D model.
- **Player elimination mid-round; turn order repair:** No elimination; penalized runners reset to and remain active.
- **Resource exhaustion:** No physical resources consumed; track distance is fixed.
- **Termination guarantee:** Guaranteed by monotonic approach conditioned on conservative braking, backed by the hard cycle limit .
## State representation
- **Persistent state:** `leader_id` , `match_scores` (rounds won per agent).
- **Per-round state:** `cycle_count` , `phase` , `leader_orientation` .
- **Per-runner state:** `position` , `velocity` , `status` .
- **Observable information:** Runners observe Leader cadence timing (with stochastic duration noise) and own kinematic state. Leader observes full runner velocities only during the instantaneous `RED_INSPECTION` window.
## Action space
- `set_acceleration(a)`: Runner control input .
- `initiate_call(duration)`: Leader action selecting green light duration.
## Playability notes
- **Single-player-vs-AI:** Highly playable as a timing, risk-management, and stopping-distance calculation challenge against an unpredictable AI Leader.
- **Group games (n>4):** Scales effortlessly to 20 runners. 2-agent duel (1 Leader vs 1 Runner) works directly with high tension.
- **Physical-skill games:** Neuromuscular braking and balance control are parameterized via maximum deceleration limits and balance fault probabilities.
- **What is lost in the adaptation:** Physical somatic holding of breath, playground giggles, and micro-postural balancing.
## Implementation hints
- Model runners as 1D kinematic integrators: .
- Implement as a sequential MDP for the runner where the core trade-off is late braking (higher speed, risk of overshooting into red light) vs. early conservative braking.
- Suggested first milestone: Implement the 1D kinematic physics loop and Leader random timer trigger, verifying that over-speeding triggers the reset.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Red Light (traditional Norwegian stop-and-go stealth racing game; also known as Grønt lys, rødt lys) (Norway). (n.d.). Games of Countries. https://gamesofcountries.com/games/no-norway/rodt-lys
@misc{gamesofcountries-no-norway-rodt-lys,
title = {Red Light (traditional Norwegian stop-and-go stealth racing game; also known as Grønt lys, rødt lys) (Norway)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/no-norway/rodt-lys}
}