About this game
Trojan Defense is a browser-playable one-button game from the Claude One-Button Game Creation GitHub gallery. It is included because the source project explicitly documents AI-assisted generation with Claude, publishes a direct GitHub Pages build, and provides a native animated screenshot. The game is best approached as a compact web arcade experiment: learn the one input, read the visual rhythm, and replay quickly to improve.
Trojan Defense sits in the AI Arcade Games section. The main appeal is fast feedback: learn the control rhythm, replay quickly, and improve through repeated short runs. The tags #github-pages, #claude, #defense describe the fastest way to understand what kind of session to expect.
Trojan Defense comes from a public GitHub or GitHub Pages project, so it is useful for players who want to see AI-assisted browser game experiments with a visible source trail.
What to expect
- One button with two actions: tap to change the shield's direction, hold to extend it.
- Red targets close in on a white centre you must protect.
- Runs last seconds; your score stays on the Game Over screen.
How to play
- Click inside the game to start.
- Watch the shield rotate around the white centre.
- Tap to reverse its direction and hold to extend it towards a target.
- When a red target reaches the centre, the run ends with Game Over.
Quick tips
- If a target is coming in behind the shield, a quick tap to reverse is faster than waiting for it to come round.
- Hold to extend only when a target is close; a short reach is easier to steer.
FAQ
Does it show a final score?
Yes. The score stays visible top left on the Game Over screen.
Is there a best score?
Yes. A separate HI counter is top right.
How was AI used to make Trojan Defense?
It comes from the public claude-one-button-game-creation project, which describes how to create one-button action games using the AI chatbot Claude.
New to AI games? The AI games guide on our home page explains how to pick one by controls and by what the AI does.

