Python Tutorial v3.2.5 Project 4 - Adventure, The Game

Опубликовано: 04 Ноябрь 2024
на канале: Programming Tutorials by Steve
3,302
23

1:42 Skip the introduction and watch the program execute.
8:48 Skip to the sample code of the quest generation system.

Visit the Chris.com ASCII Art website where many of the ASCII art images for this lesson were obtained.
http://www.chris.com/ascii/

Project 4 centers on the creative use of if/elif/else statements and a while loop to create a more in depth text adventure game. Based on the same concept of In The Realm of the Dragon (Project 2), this game will keep track of variables such as gold, experience, and a rudimentary inventory. In addition, a random quest generator makes each game slightly different than the one before.

You can download a copy of Python from http://www.python.org/downloads/.

Keep in mind this tutorial is using an older version of Python, v3.2.5. You will need to click on the "View Older Releases" button to use this specific version. Using the newer versions will not be an issue at this point, but when the lesson proceeds to basic graphics, the Pygame Module we'll use does not support v3.3+ at this time.