DEV Community

Cover image for I Built a Game in Less Than a Day (Without Writing a Single Line of Code)
Jason C
Jason C

Posted on • Edited on

I Built a Game in Less Than a Day (Without Writing a Single Line of Code)

Education Track: Build Apps with Google AI Studio

We’ve all had those fuzzy ideas: “Wouldn’t it be fun to make a simple swipe-or-click game?”

Usually, that thought dies somewhere between opening a blank repo and realizing you don’t have art, sound, or time.

This time, I didn’t let it die. I opened up Gemini Studio AI (free version, nothing paid) and threw in a prompt:

“I want to develop a simple yet relatable and fun game. Fuzzy concept is mobile swipe or click type game.”

And off we went.


Ugly Shell, Fun Core

The first draft was rough — ugly, basic, but it worked.

I played for a few minutes, scribbled notes in the chat box, refined my prompt, and waited.

Rinse, repeat.

That loop was surprisingly engaging. Instead of grinding through code, I was iterating on ideas.

Things that would normally take me a week were happening in two minutes.


From Vision to Balance: Building the Game’s Economy

I sketched out the core idea: a three‑tiered economy built around

  • Capital— the obvious resource, the fuel for growth
  • Users — the people you attract and keep
  • Tech Debt — the shadow cost that drags you down if ignored

That was my vision. But the complexity, balance, and polish? AI built it.

I’d toss in the concept, and the system would come back smarter, tighter, more playable. Suddenly, the eco wasn’t just numbers — it was a living loop where cash, users, and debt pushed against each other.

Once that foundation felt solid, we layered in difficulty levels and called them job titles. Now the game had progression, stakes, and personality.


Zero Code, Zero Assets

Here’s the kicker:

  • I wrote 0 lines of code
  • I made zero images or sound effects
  • I just prompted, played, refined, repeated
  • I paid nothing to build any of this
  • AI generated the content and styles in seconds
  • I went from random idea to poc in hours

The AI handled the heavy lifting. I just steered the ship with chat prompts.


Why It Worked

  • Rapid iteration → Play → note → refine → repeat
  • AI as collaborator → I wasn’t coding; I was co-designing
  • Fun over polish → The shell was ugly, but the gameplay loop was fun

Play It Yourself

The result is live: Eras In Code 🎮

Menu

It’s a swipe/click game that mirrors the developer journey — complete with cash, debt, and job-title difficulty levels.

Built in less than a day, powered by prompts, and surprisingly fun.

How to play

Drag and swipe

Answer result

Level Summary

Died


Final Thought

We talk a lot about AI “replacing developers.” That’s not what happened here.

AI didn’t replace me — it amplified me.

It took my fuzzy idea and turned it into a playable game faster than I thought possible.

Sometimes, the best way to build is to stop coding and start thinking.

Top comments (4)

Collapse
 
michaelsolati profile image
Michael Solati

Coming from a web development background, getting into writing games has always intimidated me, but using AI to help may be the trick. The mechanics remind me of Reign. Have you tried any other game styles with AI?

Collapse
 
j4s0nc profile image
Jason C • Edited

I spent a few hours playing cards in Gemini ai studio. I might post something later this weekend about it.. for now I'll say this: I gave it terms like "spades and hearts card game" and it built a working rules engine, it provided a dozen table themes, and settings box to manage it. It knew all the rules and scoring. I spent most of the time making it style for mobile

Collapse
 
sererron profile image
SerErron • Edited

Funny how AI just lets you skip all the annoying parts and get to the fun stuff. @hypackel

Collapse
 
antoines profile image
Antoines

Congrats man