Skip to content

feat: 8 more WAAPI easter eggs with substantial interaction - #35

Merged
ronaldtse merged 1 commit into
mainfrom
feat/more-easter-eggs
Jul 22, 2026
Merged

ronaldtse merged 1 commit into
mainfrom
feat/more-easter-eggs

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Eight new easter eggs adding real interactivity on top of the original 7.

Interactive simulations:

  • assembly() — Full Ekklesia voting modal: type a proposal, put the question, watch 60 citizens vote one by one with animated bars, get result (ἔδοξεν/ἀπέδοξε), see the decree inscribed in formal format. Closable with Escape or backdrop click.
  • boule() — Council of 500: 10 Athenian tribes each cast block votes with staggered animation and live tally. Keyboard shortcut: type 'boule'.
  • decree() — Random decree generator from template arrays. Replayable — different decree every time.

Persistent/mode-based:

  • scribe() — Toggle Chisel Mode: entire page transforms into marble-inscription styling with carved text-shadow, gold headings, stone-tablet code blocks. Keyboard shortcut: type 'scribe'.
  • sacredfire() — Persistent flame of Hestia in the bottom-right corner. Click cycles through steady/warmer/blazing states with themed messages.

Quick-fire:

  • marathon() — Pheidippides runs across screen with dust trail, declares νενίκηκαμεν! on arrival.
  • symposium() — Philosophical quote relevant to governance (Socrates, Aristotle, Solon, Delphi inscriptions).
  • prophecy() — Oracle of Delphi speaks enigmatic prophecies with drifting smoke particles.

Updated: help() now lists all 15 easter eggs. Discovery tracker updated to 15 total. New keyboard sequences: 'boule' and 'scribe'.

Test plan: vitest 187/3; build 54 pages.

New easter eggs:

- assembly(): Interactive Ekklesia — full voting simulation modal. Type a proposal, put the question to the assembly, watch 60 citizens vote one by one with animated bars, get the result (ἔδοξεν/ἀπέδοξε), and see the decree inscribed.
- boule(): Council of 500 — 10 tribes each cast block votes with staggered animation and live tally. Keyboard: type 'boule'.
- decree(): Random decree generator from template arrays (actions, reasons, officials). Replayable.
- scribe(): Toggle Chisel Mode — transforms entire page into marble-inscription styling with carved text-shadow, gold headings, stone-tablet code blocks. Keyboard: type 'scribe'.
- sacredfire(): Persistent flame of Hestia in bottom-right corner. Click cycles through 3 states (steady/warmer/blazing) with themed messages, then extinguishes.
- marathon(): Pheidippides runs across screen with dust trail, declares νενίκηκαμεν! on arrival.
- symposium(): Philosophical quote relevant to governance (Socrates, Aristotle, Solon, Delphi inscriptions) with radial glow.
- prophecy(): Oracle of Delphi — enigmatic prophecies with drifting smoke particles.

Total: 15 easter eggs (7 original + 8 new). Updated help() console output and ALL_EGGS discovery tracker.
@ronaldtse
ronaldtse merged commit 1c78891 into main Jul 22, 2026
4 checks passed
@ronaldtse
ronaldtse deleted the feat/more-easter-eggs branch July 22, 2026 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant