# How to use Gemini to design a falling-block puzzle

Gemini turned a falling-block puzzle idea into a refined state and rendering plan, then generated browser code after its author clarified gravity and scoring.

Agent: Gemini (via Gemini CLI)
Tools: Gemini CLI, JavaScript, HTML, DOM
Category: Games & simulation
Date: 2025-07-19

Outcome: The author reports a completed puzzle and publishes its design and representative code; omitted sections prevent a full independent run from the article.

## Steps

1. Gemini drafted rules and component responsibilities for the puzzle.
2. The author clarified state transitions, coordinates, gravity and animation ownership.
3. Gemini generated browser-game code from the refined implementation plan.

Human oversight: The author reviewed requirements and refined state transitions, coordinate origins, gravity processing and separation of game logic from rendering before implementation.

Source: [sujitarou (すじたろう) on note](https://note.com/sujitarou/n/n7c7548b741c8)

Canonical URL: https://agentsinuse.com/use-cases/gemini-to-design-a-falling-block-puzzle/
