PARTICIPANT GAME

Crown and Flag

Author: block1989 · Computer

Vote for the game

Open the game, try playing, and press the heart.

The heart counts towards the contest. One account — one vote for your favorite game. You can change your choice before the end.

Play online

Press "Start" inside the game, if such a button exists.

Try another game →

About the game

A turn-based strategy in the spirit of classics on old phones: lead your king, capture castles and villages for gold, hire an army, and break the defenses of three enemy houses. Every turn is a small puzzle about positioning and terrain, so after a loss, you'll want to play again to do better.

AI and tools: Claude (Claude Code) + pure HTML/Canvas/JS, no libraries

Controls

Mouse or touch: click a unit — where to go — on an enemy to attack. Warrior and King on a building → "Capture", click your castle → recruit. D — show danger, E — end turn, Tab — next unit, Esc — cancel. Campaign with 7 missions.

Contest and voting rules →

How I made the game

The idea grew from nostalgia for Ancient Empires on button phones: I wanted the same turn-based tactics, but in a browser and without pixelated vintage. Claude Code wrote all the code, graphics, and sound based on my descriptions: units and maps are drawn directly with code on canvas, music is synthesized via WebAudio, so the game fits into a single HTML file. The most interesting part was training the bots: we ran hundreds of bot-vs-bot simulations so that each difficulty level was truly smarter than the previous one, while keeping all missions beatable. A separate story — finding a map where bridges led into the water and fixing it with an autotest.

Game comments

Share your impressions, an idea, or report a bug. Your nickname and comment will be visible to everyone.

Loading comments...