Software

Work out a game's rules and build your own copy

A developer used a tool called REA with Claude Code to work out how Wordle scores guesses, including repeated letters, then build a working copy shown in a video.

Done with Claude Code

What they did

The poster used a tool called REA together with Claude Code to take Wordle apart and see how it works. They had the agent figure out the game's rules, including how repeated letters are marked. Then it built a version of its own.

How it went

The author shares a video of the working copy. They say the agent studied the logic behind the game instead of just copying how it looks.

Try it yourself with Claude Code

Investigate how [game name] works by studying its observable behavior. Write down its rules precisely, including edge cases such as [tricky case, e.g. repeated letters in a guess]. Show me the rule list and a set of test cases first and wait for my approval. Then build a web version in [framework] that passes those tests.

Swap the highlighted [parts] for your own details.

Read the original

Source: X · @codenameposhan · Oct 16, 2026

Written with AI assistance from the original post and checked against our editorial guidelines. Results are as reported by the source, not independently verified.

Get 5 use cases every day

The best things people got an agent to do yesterday, each with the prompt. Free, one email a day.

See today's issue