How They Use AI  |  Newest

<< Home  |  Tech

Fully functional browser Tic-tac-toe game created

AreaTech
AI usedClaude
Sourcer/BuildWithClaude
Posted2026-09-21

The move

Use an existing app scaffold and provide the AI with framework-specific context files to generate a new application.

Steps

  1. Set up a base project using an existing SmallJS example folder.
  2. Run the framework's context script to generate a documentation file for the AI.
  3. Open the AI interface in VSCode and provide the framework context.
  4. Prompt the AI to convert the base class into your desired application class.
  5. Select the option to convert the entire app when prompted by the AI.

Prompt for your AI

Using the provided SmallJS context, convert the class [CurrentClassName] to a [NewAppDescription] class. Ensure all unit and GUI tests are updated to match the new logic.

What happened

The user wanted to build a Tic-tac-toe game using the SmallJS framework. They set up a base project using a Counter app template and provided Claude with a file containing SmallJS contextual knowledge. Claude generated the full application code, including unit and GUI tests, based on simple prompts.

Watch out

The AI may struggle if the provided context file is outdated or incomplete. Always verify that the generated tests pass before assuming the code is stable.

Give it to your agent

Read https://howtheyuse.ai/p/fully-functional-browser-tic-tac-toe-game-created.md and help me do this.

Sources



Last updated November 26, 2026.