jonnify·codemojex /codemojex/overview

Codemojex · chapter C0

Overview — the whole game, at a glance.

Codemojex is a real-time, multiplayer code-breaking competition that runs as a Telegram Mini App — Mastermind played with an emoji keyboard, for money. This chapter opens the course the way the design opens the system: the game placed in its family, the engine that treats every mode as policy on the same branded entities, and the four-layer architecture one glance can hold. It is the shipped game (cm.1–cm.7) taught as-built.

Pick a mode below. The four policy cells change; the scoring cell does not.

feedback scoring settlement economy Classic score linear live winner‑take‑all Golden Room score linear live_split proportional Blind Golden none linear sealed winner‑take‑all
Scoring is linear in every row (the teal column) — the distance math is the invariant; only feedback, settlement, and economy fork. Source: Codemojex.Rooms.policies_for/2.

Classic — feedback score, scoring linear, settlement live, economy winner_take_all. Every guess is scored and shown; on close the pool pays the max-score player winner-take-all.

§1

The chapter in three dives

C0.1 – C0.3

One code path scores every mode; one facade fronts every system; four layers hold the whole game. The three dives take those in turn — the family the game belongs to, the engine whose modes are policy, and the architecture at a glance.

Grounding — the chapter reads from lib/codemojex/game.ex (the Codemojex facade) and lib/codemojex/rooms.ex (policies_for/2, the type→policy fork), the design’s opening sections, and stories/rooms-and-games.stories.md.

§2

References

sources · related

Sources

Related