At the beginning of the month a colleague sent me this video.
It was mind-blowing and I wanted to check if it was true.
These are the results.
Snake Game
ChatGPT 4o Pro (paid version): 105 lines of code
Let’s do exactly what this guy is doing in the video and input the phrase:
Write a snake game in python using pyqt5? Make the head look like a snake head and also the movement should be like a snake. Give your best.
This is what I received with ChatGPT 4o Pro (paid version).
The snake is simply not moving.
I tried to ask to ChatGPT how to move the snake and it replied:
Use the arrow keys on your keyboard:
↑ Up Arrow – Move the snake up
↓ Down Arrow – Move the snake down
← Left Arrow – Move the snake left
→ Right Arrow – Move the snake right
Yeah, my ass, nothing worked.
I also tried to block and unblock the Bloc Num of my keyboard. Nothing.
Yes, I also clicked on the Snake’s window to focus on that game. Nothing.
Grok 3: 163 Lines of code
The result was better. The arrows were working
Claude 3.5 Haiku: 174 Lines of code
Arrows are not working. The snake is a triangle. Like ChatGPT, just uglier.
Draw Dragon
Can you code a dragon using html css and js. Show side view of the Dragon and Give your best implementation in one single code.
ChatGPT 4o Pro (paid version): 118 lines of code
The result is a bit like in the video:
Grok 3: 166 Lines of code
Nice! The background is turquoise “because dragon fly right”?
The dragon is expelling fire from its mouth! Yes!
Wings look like leaves but because leaves fly in the turquoise sky it makes totally sense. I like it.
Claude 3.5 Haiku: 129 Lines of code
That made my CPU and Memory scream and the performance of the computer were slowed down.
It didn’t even deserved a GIF as it was… a picture.
Mario Game
Build absolutely the best implementation of the super Mario game in webpage without using any external assets and in one single code.
ChatGPT 4o Pro (paid version): 140 lines of code
Ugly as fuck.
This is very far away from what the video was showing. Nothing moves. It doesn’t deserve a GIF, only a picture.
Grok 3: 151 Lines of code
Much better than the paid version of ChtGPT. At least something moves.
Mario reminds me the flag of Macedonia and it makes perfect sense because Macedonia is close to Italy and Mario is Italian and he likes pizza but he doesn’t like pizza with pineapple so he has to kill the pizza with pineapple which is represented by circles appearing in the turquoise sky because Mario can fly like a dragon so you make 10 points every time you kill a pinapple.
Claude 3.5 Haiku: 289 Lines of code
Still turquoise skies.
Mario is a mailbox and you are welcomed by a menu on which you can press ENTER.
The mailbox is stalked by two squared brown shit because they are the enemy and the enemy is shit the enemies are two like in the real Super Mario Bros and Mario needs to jump upon stuffs like at the very beginning of the real notorious Mario I now realize that what I taught were pineapples in Grok might be actual coins but this doesn’t matter as they are out in the wild
Falling Letters
Create a JavaScript animation of falling letters with realistic physics. The letters should:
Appear randomly at the top of the screen with varying sizes
Fall under Earth’s gravity (9.8 m/s²)
Have collision detection based on their actual letter shapes
Interact with other letters, ground, and screen boundaries
Have density properties similar to water
Dynamically adapt to screen size changes
Display on a dark background. Also have a large ball as obstruction which can be moved using the cursor.
I want a single React webpage which has a mascot in the middle and its eyes and expression follow the movement of my cursor as if seeing it.
And when I go to click any option or do anything it makes different expressions.
No external assets will be provided.
Give it your best shot!
ChatGPT 4o Pro (paid version): 151 lines of code
The first code I pasted on https://jsbin.com/ was not even working so I had to specify that the target was https://jsbin.com/ and it had to create code in HTML. It was using pure React instead. This is the kind of poof to me the whoever is doing the video is lying.
Do you want to see the result? Looks at the beauty:
Is not even working…
Grok 3: 268 Lines of code
Grok was smarter here and it divided the code in HTML, CSS and JavaScript.
The result is nearly good and this is a sort of a win for me
Claude 3.5 Haiku: 362 Lines of code
Back to pure HTML code. And this is probably the best:
Conclusion
AI is here to stay but no, it will not steal your job for now.
It can create the skeleton of your code but than you still have to code.
On the internet there are tons of videos like this one that shows the “power” of the AI and they are pure click biting made to generate visualization.
Once you scrap the surface a bit you discover that they are far away from reality.
The last exercise created a mixed feeling for me: why the 3 AI they all created a smiley face in the middle of the code?
Are AI based on the user? All of them?
What ChatGPT, Grok and Claude know about me? Why they all created a smiley face in the centre?
Anyway I didn’t want to test all the exercises in the video as I had better things to do.
Do you want me to tell you what I think about AI? This: