By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: How I Built a Retro Game in an Hour: My Experience With Gemini 2.5 Pro and Vibe Coding | HackerNoon
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > How I Built a Retro Game in an Hour: My Experience With Gemini 2.5 Pro and Vibe Coding | HackerNoon
Computing

How I Built a Retro Game in an Hour: My Experience With Gemini 2.5 Pro and Vibe Coding | HackerNoon

News Room
Last updated: 2025/04/01 at 10:49 PM
News Room Published 1 April 2025
Share
SHARE

A couple of days ago, I discovered that Gemini 2.5 Pro is now available in Cursor. Having previously built a business app with great support of Cursor (Sonnet 3.5 in ask mode), I was eager to explore how the Agent mode based on Gemini actually functions. My curiosity was further piqued after watching some showcasing its capabilities.

"Street Thief" in Chicago"Street Thief" in Chicago

For a long time, I had entertained the idea of creating a simple, retro-style game — a thief running from the cops while collecting gems. However, the challenge always seemed too daunting, given my packed schedule. But after seeing what was possible with Gemini, I decided to dedicate my Sunday afternoon to finally making it happen.

The Vibe Coding Experience

The experience turned out to be nearly 100% “vibe coding.” In just 12 minutes, I laid down the initial gameplay by simply instructing Cursor on my goals.

Initial game logic after 12mins of Vibe CodingInitial game logic after 12mins of Vibe Coding

From there, I iteratively refined the game, crafting levels, selecting colors, and implementing complex behaviors with just a few well-placed prompts. Ultimately, it took me around an hour to create a game that I genuinely enjoyed playing.

To bring my characters to life, I leveraged ChatGPT’s image creation tools to generate sprites.

Making the charactersMaking the characters

They weren’t perfect, but they were good enough. I also selected colors using a handy design palette resource I found. And just like that, I had a functional, playable game.

The Messy Side of AI-Driven Development

But let’s not gloss over the downsides. The code is a mess. Everything is packed into a single file — game.js—spanning approximately 1,400 lines. The naming conventions are inconsistent, and odd comments are scattered throughout.

Comments generated in game.js fileComments generated in game.js file

Another significant challenge was the Agent’s tendency to make the same mistakes repeatedly, requiring me to intervene with the same corrections over and over again. There were also instances where the Agent reached a dead end and couldn’t recover.

Fortunately, I had set up Git for version control, which made reverting to a functional state relatively easy.

This style of coding felt peculiar. I didn’t have much control, and things often seemed to unfold in an unpredictable manner. Occasionally, the Agent would break parts of the code unrelated to the task at hand. While this approach works well for quickly building small projects, maintaining the resulting code could prove to be a nightmare.

Reverting from the dead end...Reverting from the dead end...

Final Thoughts

Overall, this “vibe coding” method has its merits. If you need to whip something up fast and don’t mind a bit of chaos in the code, it’s an exciting and efficient way to create. However, be prepared for the challenges of messy maintenance down the road. As AI development tools continue to evolve, it will be interesting to see how they address these limitations while maintaining their impressive speed and flexibility.

Try it by yourself - https://thiefchase.onlineTry it by yourself - https://thiefchase.online

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Roblox players are going to start getting paid to watch ads
Next Article The Arlo Video Doorbell is still 54% off after the Amazon Big Spring Sale
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Digital Defenders: Meet Syed Shahzaib Shah, Pakistan’s Ethical Hacker Changing the Game | HackerNoon
Computing
Apple Acquisition Hints at Upgraded Calendar App on iOS 19 or Beyond
News
Ring is giving away FREE outdoor cameras worth £80 – and it’s easy to apply
News
How to Use Your iPad as a Second Monitor With Your Mac
Gadget

You Might also Like

Computing

Digital Defenders: Meet Syed Shahzaib Shah, Pakistan’s Ethical Hacker Changing the Game | HackerNoon

6 Min Read
Computing

Everything I heard at the AVCA Conference |

9 Min Read
Computing

The Best Way to Protect Your Packages and Your Ethics | HackerNoon

8 Min Read
Computing

Why Glovo thinks Nigeria is its biggest African bet yet

11 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?