Skip to content

JennieNgi/story-adventure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

adventureGame

Story Adventure

This is a simple text adventure game built in Python 3. It uses a CSV file to store the story and decision points, and allows the player to make choices and progress through the story.

Installation

  • Python 3.10.2
  • Visual Studio Code

Game Instruction

  • Run Terminal in Visual Studio Code
  • The player will be asked whether to start a new game or load the game saved last time or quit
  • If the player haven't saved any game before, the system will display an error message and automatically start the new game for them
  • Questions will be asked to let player choose options
  • Each options will direct the player to the next story line based on the pre-set stories saved in an excel document
  • The player could save the story anytime and a txt.file will be saved to store their record.
  • Once the player lose the game, the system will automatically restart the game for them after 2 seconds

Code Explaination

  • Error checking is added if the user enter any other except option provided
  • If else statement is used
  • While loop is used
  • Python libraries (os, csv, time) are used

Credit/Acknowledgment

  • Nova Scotia Community College school project

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages