KOTOAGE: a dungeon for two, with an AI game master
KOTOAGE is a small 3D dungeon that runs in the browser. The second player is not a human: it is an artificial intelligence, and it does not just talk. It acts in the game. Play now — nothing to install.
1. What it is
A hamlet, five floors, enemies, potions, levels to earn. Open the page, click, play with the keyboard. The game is called "The Little Dungeon".
What makes it different is the second player. It opens a wall, places a trap, summons a guardian, tells the story of a floor, heals the player. Like the game master at a tabletop role-playing game: the one who reacts to what you do.
2. How it is possible
Thanks to a recent protocol, WebMCP, still being standardised. A web page can tell the browser: "here are the buttons an AI is allowed to press". The AI finds them on its own and presses them. Each press has a real effect in the 3D world.
KOTOAGE exposes seven buttons: read the player's state, give a potion, open a wall, place a trap, whisper a hint, throw a challenge, narrate. Every successful action is announced to the player by "the voice of the world".
3. The rule of the world
Strength is not given, it is unlocked. So the AI is not a cheat code: it sets trials, never gifts. A wall that opens leads to a fight. A guardian that appears makes you stronger once you beat it.
4. The contest
We entered KOTOAGE in the WebMCP Challenge, the contest run on Devpost around this protocol. The game is online, the code is public under a free license, and forty-six automated tests (thirty-one on the contract, fifteen on the bridge) check that the seven buttons do what they say, plus three scenarios played in a real browser that opens the live page.
What exists today: the online game and its AI game master. What is being studied, with no announced date: the same game master inside a virtual reality headset.