Developer Builds Browser Survival Game Where AI Agent Plans Defenses via WebMCP

A software developer created 'Erwin's Survival,' a browser-based jungle survival game built during the WebMCP Challenge hackathon — their first game project. Players explore a jungle, gather resources, and build a base during the day, while an AI agent takes over at dusk to strategically place defenses using WebMCP tools. At night, waves of slime enemies attack along three roads, and players must shoot them down while relying on the AI-placed traps and barricades. The game was built using vanilla JavaScript and HTML Canvas in about three days, with roughly 1,500 lines of code across nine modules, and is deployed as a static site on Vercel. It requires Chrome 146 or later with a specific experimental flag enabled to experience the full AI integration, though a debug mode is available for manual testing.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in