AI generated Breakout game

We have had Claude 3.5 Sonnet (new) generate a game.
(Claude 3.5 Sonnet (new) is the new Anthropic model released on 22 October 2024).

Effort: 10 minutes.

The game only works on laptops or desktop computers.

Our record: 44,043 points
But beware: the scoring system is exasperating.

Here are the prompts we used for it:

You are are a world renowned game designer and you are really good at coding simple games that look and feel awesome. All your games are so cool that people love playing them over and over.

Please create a complete computer game: Breakout. Very modern, simple, colorful design. Easy to play with arrow keys. Create the complete code so that I can play it in any browser.

Infos about the game: It is a modern version of Breakout. Player has 3 lives. There are three levels of increasing difficulty. First level is easy, last level is really hard. If player beats the last level, there is a pop up congratulating them enthusiastically.

Great! But there are some changes needed: 1) IMPORTANT: The ball appears to go through the paddle before bouncing back. Make it so that it appears to bounce off the paddle. 2) The ball should bounce off the paddle according to where it hits it. If it hits the paddle in the center it should bounce off like it would off a wall. If it hits the paddle on the right side it should bounce off more to the right. Make it gradual: The more on the right it hits the paddle, the more it should change its direction to the right when bouncing off. The same goes for the left side. 3) When user passes on level give them an additionial life.

In the game’s message to the player upon completing all levels give them the option to play an “impossible” bonus level. In this Bonus Level the left arrow key moves the paddle to the right, and the right arrow key moves the paddle to the left. Also, add scoring to the game. Very sophisticated scoring. The points you get for destroying one brick increases with each brick that has been destroyed before after last touching the ball with the paddle.

That is so cool! Leave the game exactly the way it is, but add on thing: Whenever the ball returns to the paddle without hitting any brick, half of the current score is subtracted.

AI-generated Pacman game

We have had a game generated by Claude 3.5 Sonnet.

Time required: 10 minutes.

The game only works on laptops or desktop computers.

Here are the prompts we used for this:

Can you create an 8-bit style character for me, for a video game, the character should symbolize the letter S.

Perfect, but please change the color green to purple.

Perfect! Now please create some game characters in the same style, symbolizing people.

Please create a Pac Man style game where the “S” character is swallowing the dots and the people characters you created are its adversaries. HTLM5, control by arrow keys.

Perfect! Please make the adversaries move much slower. And the game’s grid should resemble a human brain.

This is perfect, thanks! One more thing. Please measure the time needed for the user to complete the game. So if the user wins, display the congratulation message and then tell him the time needed.

That’s it. It took us less than 10 minutes to get the finished HTML code for the Claude 3.5 Sonnet game. Then we changed the messages in the html code – and that’s it! A good example of how you can have a lot of fun with AI instruments.


Click here for the game.The aim is to eat all the dots without being caught by the robots, just like in Pac Man. Controlled using the arrow keys. The game only has one level, and whoever completes it wins. But it’s not as easy as it first appears! Our record: 44.62 seconds. Have fun!

 

 

AI-generated Pong game

We had Claude 3.5 Sonnet create a Pong game according to our specifications.

Time required: 2 minutes.

Here is the prompt we used for this:

***system prompt***  You are are a world renowned game designer and you are really good at coding simple games that look and feel awesome. All your games are so cool that people love playing them over and over.

***user prompt***  Write me a fully complete web app as a single HTML file. The app should contain a simple pong game where I use WS to move the paddle up and down. There should be two modes: user against computer and user against user. If there is a second user they should use the arrow keys up and down. The ball should react to the paddles in the following way: if the ball hits a paddle right in the center it should bounce off in the same angle. If the ball hits a paddle on the side it should bounce off in a wider angle. The more to the side the wider the angle. The score is displayed above the game canvas. A player wins when reaching 10 points.

You should make the website very aesthetic and use Tailwind.

That’s it. After about 50 seconds, we received the finished HTML code for the Claude 3.5 Sonnet game.

Click here for the game. Have fun!

 

 

AI-generated air hockey

With 3 levels of difficulty.

Time required: 30 minutes.

The game only works on laptops or desktop computers, preferably with a mouse. 

 

AI-generated quiz

We have had Claude 3.5 Sonnet generate an AI quiz based on the content of the info page on this website.

Time required: 10 minutes.

The quiz works on all standard devices.

Here are the prompts we used for this:

Please create a fun quiz game based only on the information found in the attached document. The game should be in HTML5. It should be colorful, creative and fun. There should be a score. And celebration if users get answers correctly.

Perfect! Just two changes! Make the background purple instead of light blue and please make the quiz 10 questions long instead of only 5.

Thanks, but there are two issues: 1) When restarting the game I get this error: “Uncaught Error: Uncaught TypeError: Cannot set properties of null (setting ‘textContent’)” 2) The score is not kept correctly. After some correct answers the congratulation message is shown and one point is added to the score, but not after all correct answers..

That’s it. It took us just over 10 minutes to get the finished HTML code for the Claude 3.5 Sonnet quiz. Then we changed the background colour in the html code – and that’s it! Another example of how you can have a lot of fun with AI instruments.


Click here for the quiz. All answers can be found on the info page of this website. There are 10 questions in each round and the game recognises a total of 85 questions, so there is a good chance that the questions will be repeated when you restart the game. Have fun!

 

 

Click here for our neuron battle between man and machine!

Created with Claude 3.5 Sonnet and ChatGPT-4o

Superintelligenz.eu

Humans are creating a superior being. We are accompanying this development, learn new things every day and pass on our knowledge. We train chatbots - for ourselves and others.

Contact

office@superintelligenz.eu

+43 1 786 37 81

Tautenhayngasse 21/3
1150 Vienna
Austria