Giter VIP home page Giter VIP logo

zork's Introduction

Zork

This is a replica in a small version of the classic text adventure game "Zork" by Infocom (1977).

Made With C++ License Last Commit Repo Size Downloads Last Release

Game Map

How To Play

In order to play, you must specify an action for example "look" or "grab" followed by an object "rock" or "sword" for example (both either lowercase or uppercase). To move or attack, you must always specify a direction (north, west, south, east). To retrieve all possible actions type "help" to view them. You start in room 1 with no objects. In order to grab a sword you need a holder (aka "scabbard") to put it inside. Also, to use an object like "lock" with a "key" or "attack" with a "sword", you must have that item equipped.

How To Beat The Game

To beat the game, you must:

  1. Go to room 2 and grab "key"
  2. Go to room 1, equip "key" and unlock and go to room 3
  3. Go to room 5 and grab the "scabbard"
  4. Go to room 4 and grab the "sword"
  5. Go to room 1 and unlock and go to room 6
  6. Equip "sword" and attack monster until you kill it!

Extras

At any room, if there is an exit if you have a key equipped you can lock or unlock it at any time. Additionally, when you enter room 6 you must fight the monster which has 3 lives. It will be hiding, so you will need to specify a direction to hit it. Furthermore, apart from looking at entities like NPCs, you can also talk to them (it only prints a sentence).

zork's People

Contributors

joanstinson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

andresm2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.