MUNGAME
A playable 3D game that teaches Model UN procedure, with delegates who vote by clause.
- Context
- Model UN is mostly learnt by sitting in committee and getting procedure wrong in front of people. MUNGAME is a playable 3D prototype that teaches it first: four resolution committees and a crisis committee, from roll call through debate, amendments and voting, against delegates the computer controls.
- Role
- It is my personal prototype. I designed the rules and the game and built it in Unity with AI coding agents across 19 commits in September and October 2026: about 9,900 lines of C# and 62 edit-mode test cases, with builds for macOS, Windows and the browser.
- Stack
- Unity 6 with the Universal Render Pipeline, C#, the Input System and the Unity Test Framework (NUnit).
- Visit
- Source on GitHub
The hard problem
Delegates who vote on the worst clause
If a delegate scores a resolution by averaging how it feels about every clause, one bad clause disappears among the good ones: the draft passes too easily, or no single amendment can rescue it, and either way the game teaches the wrong lesson. So every country has stance axes, every clause carries stance tags, and a vote happens in two passes: first on the average of the operative clauses, then on the worst one. Below one threshold a yes becomes an abstention; below a stricter one it becomes a no whatever the rest says, which is exactly how a permanent member vetoes in the Security Council over a single clause. Amendments are judged only by what they change against the current text, so the same amendment twice does nothing. One evaluator runs every voting rule: simple majority, consensus where any objection blocks the final text but amendments pass by majority, and the Security Council's nine votes with no veto. Because the rules are plain C# with no scene attached, the balance is tested directly, including a test that no single amendment wins everyone over.