121 Commits

Author SHA1 Message Date
Brandon Craig Rhodes f3b232df40 Started working toward better support for collecting liquids with the bottle. 2011-01-28 01:07:54 -05:00
Brandon Craig Rhodes e84295ae7b Wrote routines for eating and rubbing. 2011-01-28 00:33:33 -05:00
Brandon Craig Rhodes 62d0158688 Implemented pouring. 2011-01-28 00:10:47 -05:00
Brandon Craig Rhodes 4c4dc8617a Wrote full lock and unlock routines. 2011-01-27 23:40:48 -05:00
Brandon Craig Rhodes f9b055019d Added "NotImplemented" stubs for all remaining verbs, to see how many are left. 2011-01-27 01:58:37 -05:00
Brandon Craig Rhodes 3fbfd2ae4e Implemented intransitive unlock and attack. 2011-01-27 01:45:02 -05:00
Brandon Craig Rhodes a6fb1580b3 Now each word is a separate object that knows its synonyms; and did "say". 2011-01-27 00:59:18 -05:00
Brandon Craig Rhodes 179ea6dc02 The bottle now starts with water; and, we reach the plant in the twopit room. 2011-01-11 10:50:24 -07:00
Brandon Craig Rhodes 4562623b41 Added some code to handle carrying when a filled bottle is involved. 2011-01-11 10:33:56 -07:00
Brandon Craig Rhodes 655d703e4f The player can now reach the dark room successfully. 2011-01-01 23:58:53 -07:00
Brandon Craig Rhodes 954d29eb23 Bugfix: dropping the vase did not actually place it in the current room. 2011-01-01 23:52:39 -07:00
Brandon Craig Rhodes 90d09496eb Brought the chest back to the building; noticed the vase is not working right. 2011-01-01 22:00:56 -07:00
Brandon Craig Rhodes d24aa9ebfc Implemented two special actions associated with the Plover room. 2011-01-01 18:19:53 -07:00
Brandon Craig Rhodes 8d3f085e83 In the walkthrough, made it into and (finally) out of Witt's End. 2010-12-31 14:57:08 -07:00
Brandon Craig Rhodes 5d1358d438 Reached the clam and tried (unsuccessfully) to open it. 2010-12-31 14:47:26 -07:00
Brandon Craig Rhodes 457cc966fd Bugfix: killing the dragon was not moving the player to the replacement room. 2010-12-31 14:05:03 -07:00
Brandon Craig Rhodes 44805d1c98 Wrote logic for hints (but have not tested it yet). 2010-12-31 13:06:00 -07:00
Brandon Craig Rhodes b57ab1c3ae You can now kill the dragon with your bare hands. 2010-12-31 11:37:27 -07:00
Brandon Craig Rhodes 6764dfae5f The bird in the walkthrough now gets burnt to a cinder. 2010-12-31 09:42:21 -07:00
Brandon Craig Rhodes 68e6130f42 The pirate can now successfully pounce out of the shadows. 2010-12-31 09:05:24 -07:00
Brandon Craig Rhodes 6be71c13f8 Bugfix: the data input routine failed to read the movement table
correctly; also, the big walkthrough now works completely again!
2010-12-31 08:36:22 -07:00
Brandon Craig Rhodes 199340b351 Back on track. Fixed that objects fell in the wrong place when knife gets you. 2010-12-30 14:43:41 -05:00
Brandon Craig Rhodes f344dbb5d8 False alarm! A misplaced argument was what ruined the random number
generator seed.  Went ahead and wrote the end-of-game message.
2010-12-30 14:16:02 -05:00
Brandon Craig Rhodes 88d42215e0 Kept writing walkthrough; added score-and-exit code; and reached another
problem with nondeterminism in the random number generator.
2010-12-30 13:59:28 -05:00
Brandon Craig Rhodes 0e2ec51941 Audited and groomed dwarf code, because I was suspicious to encounter
two at once; but having traced dwarf movement, am satisfied that they
are really moving independently.
2010-12-30 13:23:42 -05:00
Brandon Craig Rhodes 076e718129 Whoops; let dwarves move in the cave, not aboveground! And kept working
on walkthrough1, which needs rewriting because dwarves are in different places.
2010-12-30 00:23:29 -05:00
Brandon Craig Rhodes b197d39a20 Fixed the non-determinism by stablizing the order of a list used with
random.choice() so that it does not depend on object addresses; and
started rewriting the walkthrough1 to follow the new, stable storyline.
2010-12-29 23:52:34 -05:00
Brandon Craig Rhodes 7a90e6c5b7 Switched to using per-game random number generator for thread safety etc;
but tests are still broken because they are non-deterministic.
2010-12-29 23:18:07 -05:00
Brandon Craig Rhodes d39fa59efc Made it possible to kill dwarves; now hung up on random() nondeterminism
in the face of whether game.py has just been modified.  (Maybe the random
number generator gets exercised in the process of building the .pyc file?)
2010-12-29 21:13:46 -05:00
Brandon Craig Rhodes 6e1a859634 First attempt at implementing dwarves at pirate; ruined tests, of course. 2010-12-29 20:28:50 -05:00
Brandon Craig Rhodes a142a0421e A dwarf now walks around the corner, throws his axe, curses, and runs away. 2010-12-29 17:29:23 -05:00
Brandon Craig Rhodes a019936b3c Added intransitive handling for one verb, and uppercased all output. 2010-12-29 17:01:54 -05:00
Brandon Craig Rhodes ec6a604268 Dwarf activation is nearly ready, and a hollow voice now says "PLUGH". 2010-12-29 15:20:09 -05:00
Brandon Craig Rhodes b4dc666c3a Taught the game when to activate (but not yet how to move) the dwarves. 2010-12-29 14:27:29 -05:00
Brandon Craig Rhodes eaae23794c Implemented the "back" command. 2010-12-29 13:28:00 -05:00
Brandon Craig Rhodes 96dcad84ab Fixed warning about not-closed file on Python exit. 2010-12-29 11:53:36 -05:00
Brandon Craig Rhodes 6d9611e8f4 Converted project to Python 3, since this is a good chance to get practice. 2010-12-29 11:51:20 -05:00
Brandon Craig Rhodes 227fe3df1b Scoring now works, and your score increases when you find a treasure. 2010-12-29 11:28:21 -05:00
Brandon Craig Rhodes fdfca29e53 The bird can now drive the snake away. 2010-12-29 00:55:53 -05:00
Brandon Craig Rhodes f1399d4ae0 Implemented the "attack" verb. 2010-12-29 00:40:04 -05:00
Brandon Craig Rhodes 2357982d53 Switched to using full (lower-case!) words for object literals in the code. 2010-12-28 23:44:54 -05:00
Brandon Craig Rhodes 67ce0ac86e Wrote (but have not yet tested) the logic dealing with the lamp going out. 2010-12-28 23:17:15 -05:00
Brandon Craig Rhodes dedb615b51 You now need to be carrying the cage to pick up the bird. 2010-12-28 21:51:51 -05:00
Brandon Craig Rhodes 42eeccbbbe Added attributes for all game objects; the bird fears the rod; and more "drop". 2010-12-28 20:54:31 -05:00
Brandon Craig Rhodes cdf60b7760 The lamp can now be turned on, which means you do not fall into a pit. 2010-12-28 14:50:25 -05:00
Brandon Craig Rhodes 259f6a2cd9 Moved the verb-code down below motion-code, where it belongs; and
started working on reincarnation.
2010-12-28 14:07:09 -05:00
Brandon Craig Rhodes dfe5a043c4 Started implementing real commands. The grate can now be opened. 2010-12-28 13:34:00 -05:00
Brandon Craig Rhodes 365cbf67ee Made it possible to pick up the keys. 2010-12-28 02:43:58 -05:00
Brandon Craig Rhodes 5368d1f487 Got "forced" locations working, that immediately move you somewhere else. 2010-12-28 02:04:33 -05:00
Brandon Craig Rhodes af77603ba5 The game no longer allows motion through the locked grate (breaking tests). 2010-12-28 01:18:48 -05:00