Giter Site home page Giter Site logo

adventure.lua's People

Contributors

shawndumas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

adventure.lua's Issues

Exiting Inventory After Examine|Save|Inventory

RIVER

You follow the rivulet as it becomes the slow-moving river.

      Your options are:
            x       Examine
            e       Go East; to the pit
            n       Go North; to the cave
            s       Go South; to the woods
            w       Go West; to the rivulet
            i       Inventory
            l       Load
            q       Quit
            v       Save
     --> x

When you peer into the beautiful shining water, a long killer spearfish jumps
out at you. Startled you slip and catch yourself just before falling in. From
your new vantage point you see a small hooked shaped bone in the shallows. (Bone
taken.)

RIVER

You follow the rivulet as it becomes the slow-moving river.

      Your options are:
            x       Examine
            e       Go East; to the pit
            n       Go North; to the cave
            s       Go South; to the woods
            w       Go West; to the rivulet
            i       Inventory
            l       Load
            q       Quit
            v       Save
     --> v

Game saved.

RIVER

You follow the rivulet as it becomes the slow-moving river.

      Your options are:
            x       Examine
            e       Go East; to the pit
            n       Go North; to the cave
            s       Go South; to the woods
            w       Go West; to the rivulet
            i       Inventory
            l       Load
            q       Quit
            v       Save
     --> i

You can access the following items:

the flint
the hook shaped bone
the river
the small fly
the strong thin vine

    Pick a verb:
            1 .... drop
            2 .... hit
            3 .... pull
            4 .... push
            5 .... put
            6 .... throw
            7 .... touch
            8 .... use
            x .... to exit
      --> x

Your examination is fruitless.

Save/Load Game

  1. Serialize to a string the following:
    1. Tables:
      1. hero
      2. room
      3. inventory
      4. conditions
      5. roomswithenemies
      6. commands
    2. The game.name property
  2. Save the serialized string to a filename provided by the Player
  3. Load a serialized string from a filename provided by the Player
  4. De-serialize the loaded string into the following
    1. Tables:
      1. hero
      2. room
      3. inventory
      4. conditions
      5. roomswithenemies
      6. commands
    2. The game.name property

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.