A simple text-based game I made for the Udacity Intro to programing nanodegree. It's the first python program I've written. The goal of the game is to fight the monster terrorizing the nearby village and collect the bounty on it's head. Being a simple version, choices are picked via the 1, 2, 3 number keys, they are the only valid choices, any other input will ask the player to try again. This game uses a random choice function to select a monster at random each time the game is played. It also uses randint to generate the bounty on the monster, that the player collects when they win the game. There is an extra fight step if the player picks the sword from the cave(inspired by "Our Flag Means Death"). If the player returns to the cave after already taking a weapon, they are unable to pick up another, and go back to the field. I had a lot of fun putting this together, I easily spent twenty hours on it.
-
Notifications
You must be signed in to change notification settings - Fork 0
A simple text-based game I made for the Udacity Intro to programing nanodegree.
alcuincrow/adventure-game
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A simple text-based game I made for the Udacity Intro to programing nanodegree.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published