A game created by a 9-year-old child with the help of AI
Software engineer Vinay Sahni shared 'A game created by a 9-year-old child with the help of AI' on the social news site Hacker News. Sahni's post includes comments and feedback from users who have played the game.
My son (9 yrs old) used plain JavaScript to make a game, and wants your feedback | Hacker News
https://news.ycombinator.com/item?id=42312121
The game that Mr. Sani's son made is titled 'THE GAMEY GAME' and was made while listening to Gemini on how to write JavaScript. The coding was written by his son using VSCode himself, and it was not generated by Gemini. THE GAMEY GAME is available at the following link.
THE GAMEY GAME
https://www.armaansahni.com/game/
THE GAMEY GAME is a game where you can play against monsters, and the initial screen has a row of buttons that allow you to select your opponent. Click 'flying snake' to try it out.
The control character and the flying snake are displayed in the center of the screen, the name of the technique is displayed at the top, and the hit points are displayed at the bottom. Click 'throwing star' to attack the snake.
Then, the calculation problem dialog box was displayed. Enter the answer and click 'OK'.
'Queston right' was displayed, and 10 damage was given to the flying snake. The spelling of 'Question' is wrong, which is childish. In THE GAMEY GAME, the goal is to solve the calculation problem like this and defeat the opponent.
It seems that your opponent is also solving math problems, and if they get the answer right, you will take damage.
When the flying snake's hit points were all gone, the message 'you win refresh to go again' was displayed.
In addition to flying snakes, you can also fight fire golems, power warp cores, and more in THE GAMEY GAME.
In addition to feedback such as ' It's hard to tell whether an attack can be used or not, so it would be better to clearly display that the charge is complete ' and ' I want a gorgeous screen when you win, ' there were also comments such as 'I'm happy to see a 9-year-old experiencing the joy of computers. Games were also what got me into computers. When I was 8 years old, I wanted to develop games, but I didn't have enough technology at the time, so 30 years later I developed a Space Invaders-like game .'
In addition, Mr. Sani's son summarizes the reasons why he chose JavaScript as a programming language and how to use AI in the following blog post.
How I coded a game using AI as a 9 year old
https://www.armaansahni.com/how-i-coded-a-game-using-ai/
Related Posts:
in Web Service, Posted by log1o_hf