How They Use AI  |  Newest

<< Home  |  Tech

Built a web game with over 25K plays

AreaTech
AI usedClaude
Sourcer/ClaudeAI
Posted2026-07-15

The move

Use an AI to generate the code structure and logic for a single-file web application.

Steps

  1. Define the core game mechanics and rules for your project.
  2. Ask the AI to generate the code structure for a single-file HTML application.
  3. Iterate with the AI to refine game logic, tone, and edge cases.
  4. Deploy the code to a simple hosting platform like Cloudflare Workers.

Prompt for your AI

Write the code for a single-file HTML game where [describe game mechanics]. Include logic for [specific feature, e.g., scoring or data handling] and ensure the tone is [describe tone].

What happened

The creator wanted to build a game to settle an argument about market timing. They used Claude to write the code for a game where players trade S&P 500 data against a passive 'couch' strategy. The resulting game has received over 25,000 plays.

Watch out

Single-file HTML games may be vulnerable to users viewing the source code to cheat. Ensure your game logic accounts for potential data manipulation if competitive fairness is required.

Give it to your agent

Read https://howtheyuse.ai/p/built-a-web-game-with-over-25k-plays.md and help me do this.

Sources



Last updated November 26, 2026.