R2-02: learning game tuersteher #11

Merged
oliver.maklott merged 1 commit from r2-02-tuersteher into dev 2026-11-02 00:19:01 +01:00

R2-02 of the outline „Roboterwelt 2 1.7: Weichenbahn und Türsteher“.

  • Learning game tuersteher, three tiers, three rounds each, turn-based, no time counts (the outline drops „Tempo“)
  • Normal: the rule in words (UND, ODER, both), 8 guests a round, „Hinein“ / „Nicht hinein“, after each decision the rule taken apart („Ticket: ja. Mindestens 14: nein. … Also: ja und (nein oder ja) = ja.“)
  • Erweitert: the rule as code with ! and Hausverbot, including hatTicket() && !hatHausverbot() && (alter() >= 14 || mitErwachsenen())
  • A round counts with at most one mistake, else it starts again with new guests
  • Coverage test (200 seeds per rule): every part of the rule decides in every round, so no "half rule" passes; both answers occur; ages 13 and 14 are there whenever the rule asks for the age
  • Experte: the rule from blocks (four questions, &&, ||, !, parentheses), checked on 10 listed and 10 new guests. Tests: the rule is the only shortest one that fits the list; a rule copied from the list fails at the new guests; in the game such a rule is caught by a new guest, who then joins the list
  • Game kit checks, play per tier

Decided on 1 Nov: Experte shows only the list (no rule in words).

Deviations:

  • Stars are counted per round (done; no mistake, or in Experte right at the first check; Experte also the shortest rule), not once per run, so they work the same as Weichenbahn's levels. The outline lists the same three stars.
  • In Experte, the cases of the 10 + 10 guests are fixed per round (the test proves the conditions above); the order and the ages come from the seed.

🤖 Generated with Claude Code

https://claude.ai/code/session_01PVUe4gDLtYkgEdqMMZTFBZ

R2-02 of the outline „Roboterwelt 2 1.7: Weichenbahn und Türsteher“. - [x] Learning game `tuersteher`, three tiers, three rounds each, turn-based, no time counts (the outline drops „Tempo“) - [x] Normal: the rule in words (UND, ODER, both), 8 guests a round, „Hinein“ / „Nicht hinein“, after each decision the rule taken apart („Ticket: ja. Mindestens 14: nein. … Also: ja und (nein oder ja) = ja.“) - [x] Erweitert: the rule as code with `!` and Hausverbot, including `hatTicket() && !hatHausverbot() && (alter() >= 14 || mitErwachsenen())` - [x] A round counts with at most one mistake, else it starts again with new guests - [x] Coverage test (200 seeds per rule): every part of the rule decides in every round, so no "half rule" passes; both answers occur; ages 13 and 14 are there whenever the rule asks for the age - [x] Experte: the rule from blocks (four questions, `&&`, `||`, `!`, parentheses), checked on 10 listed and 10 new guests. Tests: the rule is the only shortest one that fits the list; a rule copied from the list fails at the new guests; in the game such a rule is caught by a new guest, who then joins the list - [x] Game kit checks, `play` per tier Decided on 1 Nov: Experte shows only the list (no rule in words). Deviations: - Stars are counted per round (done; no mistake, or in Experte right at the first check; Experte also the shortest rule), not once per run, so they work the same as Weichenbahn's levels. The outline lists the same three stars. - In Experte, the cases of the 10 + 10 guests are fixed per round (the test proves the conditions above); the order and the ages come from the seed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01PVUe4gDLtYkgEdqMMZTFBZ
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
aivopod-challenges/Roboterwelt-2!11
No description provided.