ChatGPT 4o Can Create Small Games in Seconds! Try Now!

This week was all about the AI upgrades, starting with the announcement of GPT-4o by OpenAI and the upgraded Gemini Pro by Google. The GPT-4o model is still rolling out to users, I received access to the newest model yesterday and performed various tasks with it. It is super fast and considerably better than the GPT-4.

After performing various tasks, I began testing the code-generation capabilities. What could be better than trying out the code for Nokia’s classic Snake game? The game on recent Nokia and HMD phones isn’t even close to the retro Snake game. Here’s how it looks on the Nokia 2660 Flip.

snake game on new nokia and hmd phones

I asked ChatGPT to recreate the classic Snake game by uploading a screenshot of the game. I simply wrote the prompt “Please Code this in Python.” It quickly detected the game and started writing the code. Within a few seconds, I had the code.

create games using chatgpt 4o

Now all I need to do is copy the entire game code and paste it into Notepad++, and save it as a Python file. You can name the file

create games using chatgpt 4o

In the final step, I installed the “pygame” Python library to run the game. You can do this by running this command: pip install pygame

create games using chatgpt 4o

That’s it! Now you can run the and start playing your favorite classic Snake game.

create games using chatgpt 4o

The game runs perfectly fine, but the speed of the snake and the background color aren’t the same as the old game. If you have a little knowledge of coding, you can change the snake speed and color codes easily or simply ask ChatGPT to change the background color and snake speed. After making these changes it feels the same as the retro game.

You can follow the same steps and create any nostalgic game in seconds using ChatGPT 4o.

Related Articles:

Explore Stories


Photo of author

Haneet Singh

Haneet is the Founder and Editor-In-Chief of YTECHB. He has a huge passion for tinkering with latest smartphones, wearables, smart home devices, smart TVs, and more. As an avid Apple Ecosystem user, he loves customizing his iPhone and iPad to suit his needs. For tips, you can connect Haneet at In 2019, Haneet and the YTECHB team exclusively shared the wallpapers of iPhone 11 right before the launch event. In 2020, Haneet alongside his team members shared exclusive renders and official photos of two Samsung Galaxy smartphones - the Galaxy M11, and Galaxy M21. Later, the YTECHB team leaks information about Motorola's feature phones and Razr 3. In the last few months, our team shared Galaxy S24 Ultra leaks and more. You may come across with our work getting mentioned in The Times of India, India Today, Hindustan Times, NDTV, TechRadar, Digital Trends, Yahoo News, GSMArena, Android Authority, Android Central, Android Headlines, SamMobile, XDA, 9to5Google, and many other publications. He works across news, updates, features, guides, and more. If YTECHB writes about it, you can expect him to be involved in some way.

Leave a Comment