Skip to content

zoroislosthelp/Haunted_House

 
 

Repository files navigation

Haunted House

A python based text game. Explore different rooms while collecting items and completing challenges from characters!

How does the game work?

The user can type the following commands:
go {direction}: Go to a different room based on the specified directions.
look: Gives the description of the room the user is in. Also provides the list of items in that room.
take {item}: Take the item which is present in the room.
talk {character}: Talk to the specified npcs.
inventory: Returns the contents of the inventory.
unlock: Unlocks the treasure box if conditions are met.
quit: Ends the game.

Goal of the Game

Find the treasure box in one of the rooms. Score maximum points by completing challenges and collecting items.

How to start?

  • Fork the Repository
  • Have a look at issues with hacktoberfest tag!
  • Clone The Repository and move inside it git clone https://github.com/IEEE-VIT/Haunted_House && cd Haunted_House
  • Make and activate a virtual env.
  • Install the requirements pip install -r requirements.txt
  • Open python terminal and download the following nltk packages
    nltk.download('punkt')
    nltk.download('stopwords')
    nltk.download('wordnet')
  • Create a new branch with your feature name git branch <name>
  • Commit your changes
  • Push the changes to your fork! git add . git commit -m "Your feature description" git push origin <your branch name>
  • All set, Feel free to contribute and send a Pull Request
  • Wait for your PR to be reviewed and merged
  • For more info on how to contribute check out CONTRIBUTING.md

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%