How I Made an AI Game in Just 10 Minutes!

by Random Stuff We Make in Living > Video Games

45 Views, 4 Favorites, 0 Comments

How I Made an AI Game in Just 10 Minutes!

Made This AI Game in 10 Minutes – It’s Crazy Easy!

In this tutorial, I’ll show you how to create a simple AI-powered game where you control a ninja character using just your body movements. No controllers, no joysticks—just you! And the best part? You’ll have your own game up and running in under 10 minutes. You can watch the full video guide here: Made This AI Game in 10 Minutes – It’s Crazy Easy!

Setting Up the Platform

Screenshot (1165).png
Screenshot (1166).png
  1. Head over to the Avishkar Maker Studio and sign up.
  2. Once logged in, select the Game Builder Mode.
  3. Click on Body Pose Game to start a new game dev



Adding Sprites and Background

Dead__000-1.png.png
Jump_Throw__001-1.png.png
Idle__000-1.png.png
shuriken.png
  1. Add your background and music from the asset library.
  2. Upload your ninja sprites—one for standing and one for jumping, one for hit(Optional).
  3. Add your Shuriken Sprite.

Coding the Ninja’s Movements

Screen Half Height.png
  1. Detect the player’s body pose using the pose detection block.
  2. Track the player’s hip coordinates to determine when they jump.
  3. If the player jumps, change the ninja’s sprite to the jumping position.

Dodging Shurikens

  1. Add a moving shuriken sprite that approaches the ninja.
  2. Set conditions to reset the shuriken’s position if it passes the ninja.

Adding Lives and Score

  1. Add a scoring system: +1 for dodging shurikens, and lose a life when hit.
  2. Display the game-over screen when lives reach zero.

Conclusion

Gameplay.gif

And there you have it! A fully functional AI game in just 10 minutes. You can now experiment by adding more features and share it with your friends! Check out the full video guide for extra tips: Watch the Tutorial