I created my fist python game for codecademy.com! The purpose of this exercise was to show my understanding of what I learned during the first 25% of the Beginner Computer Science course.
In this game, the hero attacks monsters and tries to reach 40 points. The hero starts with 20 points. Each monster defeated earns the hero 2 points. Each monster that attacks the hero takes 1 point away from the hero.
I created a class for Monsters with several attributes, such as size, color, shape, and number of points. Each monster’s size, color, and shape attribute is determined by a random generator. I included a Hero class in which the player can add their name and it keeps track of their current number of points.
Check out my GitHub repository to see my first ever Python game!
https://github.com/tinabear817/MonsterVSHero.git

Leave a Reply