Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Cyber Battle Game
Game elements
Main Game Loop
Final game
24. Finished game

Instruction

And... that's it! You've created your very own Python game. Congratulations!

The template in this exercise presents the complete game code. Take a look at it again and analyze how it works. Feel free to run the game as many times as you like.

If you liked the game, you can try improving it on your own. Here are some suggestions:

  1. Let a human play the game against a computer opponent or against another human player.
  2. Currently, robots perform random moves. Try to make them a bit more intelligent.
  3. Extend the board and add new elements, such as collectible extra lives.

Exercise

Play the game as many times as you like. When you're done, click I'm done. Next exercise.