Gemini CLI vs Claude Code: A Flappy Bird Comparison

This repository explores the capabilities of Google's Gemini CLI and Anthropic's Claude Code by challenging each to build a Flappy Bird game.

šŸŽ® Play Both Games Live

šŸŽ® The Challenge

Initial prompt: "build the flappy bird game using svelte and vite"

šŸ¤– AI Assistants Compared

Claude Code

  • Model: Claude Opus 4 (claude-opus-4-20250514)

Gemini CLI

  • Model: Gemini 2.5 Pro and 2.5 Flash

šŸŽÆ Conclusion

Claude Code

  • took just one prompt
  • nice UI styling
  • high cost, ~$4, with opus 4

Gemini CLI

  • FREE
  • lots of fixes needed after first build
  • auto switched from 2.5 pro to 2.5 flash midway due to "slow response"

Developer's Guide

Running Locally

Claude's Version

cd claude/flappy-bird
pnpm install
pnpm dev

Gemini's Version

cd gemini/flappy-bird
pnpm install
pnpm dev

Building for Production

./build.sh

This will build both games and place them in the dist directory.

🌐 Deployment

This project is configured for automatic deployment to GitHub Pages:

  1. Push changes to the main branch
  2. GitHub Actions will automatically build and deploy both games
  3. Access the games at: https://kstonekuan.github.io/gemini-v-claude-flappy-bird/

This experiment was created to explore the practical differences between two leading AI coding assistants through a fun, tangible project.

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes