Will BoothWill Booth

Chicken Road: could Claude one-shot a casino game?

Summary

Could Claude build a casino game in one shot? The logic, yes. Everything you judge by eye needed work.

The question

How far can AI take you building a casino game?

I picked Chicken Road because it has a clear ruleset, clear visual requirements, and has exploded in popularity over the last year.

It's a crash-style game. You place a bet and guide a chicken across lanes of oncoming traffic. Every lane crossed raises the multiplier; cash out any time, or lose the bet if a car hits you. The risk is immediate and the decision constant, a loop borrowed straight from Frogger.

The first attempt

Chicken Road v1.0.

The prompt

Build me a browser-based casino game called Chicken Road using React and PixiJS. A chicken starts at the bottom of the screen and must cross 8 lanes of moving traffic. Each lane the chicken survives increases a multiplier. The player can cash out at any point or lose everything if a car hits them. The chicken should be animated with idle, walk, and death states using a spritesheet. Cars should spawn from the top of the screen at varying speeds. Include a bet input, a cash out button, a difficulty selector (Easy / Medium / Hard), and a total win display. Style it like a polished casino game: dark background, neon accents, clear UI hierarchy.

What worked

  1. Game logic

    Rules, board generation, multiplier progression and cash-out were all correct first time.

  2. State management

    The game-state hook and overall loop were scaffolded cleanly in a single pass.

What didn't

  1. A poor chicken

    A basic SVG with no spritesheet, no animation states and poor visual quality.

  2. No cars

    Collisions were faked with a text message saying "hit by a car". Nothing was drawn.

  3. The wrong mechanic

    Instead of free movement, the chicken advanced by picking one of three squares, each with a hidden crash chance. Closer to a slot than a crossing game.

Version 1.0.

Iterating

Fixing the chicken took two attempts.

Attempt 1: a chain of AI tools

A character drawn in Gemini went into Grok Imagine to make short animations for each state the game needed: idle, walk and death. Spritely then sliced each video into a spritesheet.

Gemini

Character art

Grok Imagine

Animations

Spritely

Slices frames

Spritesheet

Idle, walk, death

Below is the spritesheet made from the walk video. Hover the preview to animate it.

Hover to animate

The chicken walk spritesheet
  1. Frames too small

    The source resolution left each frame too low quality to use at game scale.

  2. No seamless loop

    The first and last frames didn't match, so the animation visibly snapped as it cycled.

Attempt 2: built in Unity

The second attempt skipped image generation. Claude walked me through building the sprite in Unity, a tool I had never opened. The idle state is below.

  1. Much higher quality

    Sharper frames, better proportions and better overall fidelity than anything from Grok or Gemini.

  2. Proper animation states

    Idle, walk and death each had a distinct, legible pose, which was the core requirement.

  3. No Unity experience needed

    Claude walked through the whole setup from scratch: a practical example of how much friction AI removes from unfamiliar tools.

The cars

Static images, new problems.

Cars have no animation states, so I expected them to be easier. The same quality issues came back, plus a new kind of problem: how the model understands space.

  1. Poor image quality

    Flat, generic assets with inconsistent lighting, and the same resolution issues as the early chicken.

  2. Style mismatch

    The cars and the chicken were visibly from different sources. Getting two AI tools to share an art style is harder than it looks.

  3. Wrong orientation

    No idea which way a car in a lane should face, which took repeated corrections.

  4. Cars spawning over cars

    New cars drove straight over stopped ones. Spawning was built without tracking what was already in the lane.

Better prompts could have prevented some of this. But you only learn how to write them after seeing how the model fails. It has no shared picture of what the game looks like, and each instruction is handled in isolation.

Verdict

The logic is the easy part.

Claude got the game working in one pass: state, multipliers and cash-out, all correct first time. The trouble started when the output had to be judged by feel: sprite orientation, animation states and a consistent art style. You only learn how to describe those after seeing the model get them wrong.

The gap between a working game and one that feels like a game is where the real work lives.

Next lab

Apex TrackerLive ranked stats and leaderboards