AI TTS: JS/HTML
July 8, 2024AI TTS: JS/HTML
July 8, 2024ChatGPT o1 to the Test
⸻ HTML/JS ⸻
Let's make a game
Inspired by this technological feat, we decided to put ChatGPT to the test. Drawing from a personal experience: my four-year-old child recently visited a museum and discovered a simple video game in one of the exhibits. The game was straightforward—a night sky backdrop where, using a Microsoft Kinect (why was it ever discontinued?), players could "touch" flying comets detected by scanning their bodies.
Upon touching a comet, information about it would appear. That was the entire game, yet it captivated my child.
Motivated to recreate this experience, I set out to develop the game using JavaScript, HTML, and CSS.
Instead of a Kinect, I planned to utilize a webcam and aimed to modify the game logic slightly.
Putting ChatGPT to the test
Over the course of 42 prompts—developing one feature at a time for clarity—we guided ChatGPT through the creation of the game. Astonishingly, the AI performed flawlessly. There were zero mistakes or errors throughout the entire process. Each prompt was executed perfectly, without disrupting any of the previously generated code.
When certain details were missing from my prompts, ChatGPT "reasoned" and ingeniously designed the code to fill the gaps. The AI's ability to understand context and anticipate requirements was nothing short of impressive.
A remarkable efficiency
Interestingly, writing this article took the same amount of time as developing the full game. This highlights not only the efficiency of ChatGPT in coding but also its potential to significantly streamline development processes.