Argentinian Truco Engine & Monorepo
Engine / Game LogicTypeScript · Deterministic FSM · Next.js (planned)Developing
game-enginedeterministicfsmtypescript
GitHub ↗Deterministic card game engine (event sourced) – still in early development.
Origin: curiosity about modeling complex bidding + trick-taking flow with full determinism. Design goals: pure engine (no IO), event-sourced state rebuild, reproducible shuffles via seed, and masking per player view. Early focus: correctness invariants (card hierarchy, turn rotation, scoring) and expressive finite state machines for calls (truco / envido / flor chain). Next steps: persistence layer + spectator view. Still evolving — tracking clarity over feature breadth.
Goal
Provide a replayable, strict rules engine for Truco with seed‑based determinism.