Brandon Craig Rhodes
|
fdfca29e53
The bird can now drive the snake away.
|
14 éve |
Brandon Craig Rhodes
|
f1399d4ae0
Implemented the "attack" verb.
|
14 éve |
Brandon Craig Rhodes
|
2357982d53
Switched to using full (lower-case!) words for object literals in the code.
|
14 éve |
Brandon Craig Rhodes
|
67ce0ac86e
Wrote (but have not yet tested) the logic dealing with the lamp going out.
|
14 éve |
Brandon Craig Rhodes
|
dedb615b51
You now need to be carrying the cage to pick up the bird.
|
14 éve |
Brandon Craig Rhodes
|
42eeccbbbe
Added attributes for all game objects; the bird fears the rod; and more "drop".
|
14 éve |
Brandon Craig Rhodes
|
cdf60b7760
The lamp can now be turned on, which means you do not fall into a pit.
|
14 éve |
Brandon Craig Rhodes
|
259f6a2cd9
Moved the verb-code down below motion-code, where it belongs; and
|
14 éve |
Brandon Craig Rhodes
|
dfe5a043c4
Started implementing real commands. The grate can now be opened.
|
14 éve |
Brandon Craig Rhodes
|
365cbf67ee
Made it possible to pick up the keys.
|
14 éve |
Brandon Craig Rhodes
|
5368d1f487
Got "forced" locations working, that immediately move you somewhere else.
|
14 éve |
Brandon Craig Rhodes
|
af77603ba5
The game no longer allows motion through the locked grate (breaking tests).
|
14 éve |
Brandon Craig Rhodes
|
fba67a5671
The game now complains if you move in an impossible direction.
|
14 éve |
Brandon Craig Rhodes
|
041631a9a6
The objects at each location are now printed.
|
14 éve |
Brandon Craig Rhodes
|
589d879c3b
The game now understands that rooms can be dark, and you can fall into a pit.
|
14 éve |
Brandon Craig Rhodes
|
9aa682fa5f
Got basic movement commands working.
|
14 éve |
Brandon Craig Rhodes
|
8365af32a4
Hooked up the first real command: "cave", which just prints a message.
|
14 éve |
Brandon Craig Rhodes
|
add999cfe6
Print the location on game startup; and move to using <BLANKLINE> in doctests.
|
14 éve |
Brandon Craig Rhodes
|
9227abbfe1
Made Game inherit from Data to avoid saying `game.data` over and over again.
|
14 éve |
Brandon Craig Rhodes
|
6393582969
The game now asks if you want instructions, and then prints them out or not.
|
14 éve |
Brandon Craig Rhodes
|
9415e901ca
Switched to consistent Unicode strings; and Message can now unicode() itself.
|
14 éve |
Brandon Craig Rhodes
|
0203fbef67
Created a Game object that knows the game state, and a walkthrough doctest.
|
14 éve |
Brandon Craig Rhodes
|
c1b7475e0e
Stopped using global variables to keep up with current items during import.
|
14 éve |
Brandon Craig Rhodes
|
64a92e474a
Realized that object descriptions might also contain tabs.
|
14 éve |
Brandon Craig Rhodes
|
b1bf4c5882
Changed the parser to take an open file, and started tests of the data import.
|
14 éve |
Brandon Craig Rhodes
|
4f666ab998
Wrote a simple interpreter that supports movement around the cave.
|
14 éve |
Brandon Craig Rhodes
|
7fffc865c0
Added default locations of objects, and default messages of verbs.
|
14 éve |
Brandon Craig Rhodes
|
34403439bf
Switched to a system of conditions that can be introspected, for debugging.
|
14 éve |
Brandon Craig Rhodes
|
6978b90f6e
Started designing import of verbs; taught Moves to display their target
|
14 éve |
Brandon Craig Rhodes
|
fb8e0fc349
Imported the travel table, using lambda functions built on-the-fly.
|
14 éve |