1 / 14

The Adventure Game

The Adventure Game. By: Marchiel Myco & Desmond Johnson. Beginning of the Adventure. This is the beginning of the game which gives you a look before starting the game. (Example Instructions). More Adventure Necessities….

Download Presentation

The Adventure Game

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The Adventure Game By: Marchiel Myco & Desmond Johnson

  2. Beginning of the Adventure • This is the beginning of the game which gives you a look before starting the game. (Example Instructions)

  3. More Adventure Necessities… • This matches the input command with the predicate which carries out the commands. It also gives tighter control over the allowable commands

  4. More Adventure Necessities… • These are the predicates which control exit from the game. If the player has taken the car keys, then the call will succeed and the command_loop will complete. Otherwise it fails and command_loop will repeat.

  5. More Adventure Necessities… • These are the help commands that will get you through the Adventure Game

  6. More Adventure Necessities… • Initial facts describing the world. Area and doors do not change, so they are compiled.

  7. More Adventure Necessities… • These facts are all subject to change during the game, so rather than being compiled, they are "asserted" to the listener at run time.

  8. More Adventure Necessities… • Take allows the player to take something. As long as the thing is contained in the area it can be taken, even if the adventurer hasn't looked in the the container which contains it.

  9. More Adventure Necessities… • These are the goto which moves the player from area to area.

  10. More Adventure Necessities… • Turn_on recognizes two cases. If the player tries to simply turn on the light, it is assumed this is the area light, and the appropriate error message is issued. Otherwise turn_on has to refer to an object which is turned_off.

  11. More Adventure Necessities… • This reads a sentence and puts it, in, list, form; it also calls the grammar for command and it makes the command list a structure

  12. More Adventure Necessities…

  13. More Adventure Necessities…

  14. Conclusion • This game is built to enjoy and to share with others. Please do come back and visit us again. Thank you. Marchiel & Desmond

More Related