From 10d681ebebadb5bd3c6afc27676d2e8d069ff1f5 Mon Sep 17 00:00:00 2001 From: NHOrus Date: Thu, 20 Jul 2017 21:00:23 +0300 Subject: [PATCH] Test for freshly fixed bugs Also, removed redundant specials from illformed --- tests/illformed.chk | 86 ++++++++++++--------------------------------- tests/illformed.log | 10 ++++-- 2 files changed, 29 insertions(+), 67 deletions(-) diff --git a/tests/illformed.chk b/tests/illformed.chk index 2c0dc02..17d277c 100644 --- a/tests/illformed.chk +++ b/tests/illformed.chk @@ -42,67 +42,25 @@ You can't get there from here. You're in front of building. -> version - -There is a puff of orange smoke; within it, fiery runes spell out: - - Open Adventure 1.2 - http://www.catb.org/esr/open-adventure/ - -> help - -I know of places, actions, and things. Most of my vocabulary -describes places and is used to move you there. To move, try words -like forest, building, downstream, enter, east, west, north, south, -up, or down. I know about a few special objects, like a black rod -hidden in the cave. These objects can be manipulated using some of -the action words that I know. Usually you will need to give both the -object and action words (in either order), but sometimes I can infer -the object from the verb alone. Some objects also imply verbs; in -particular, "inventory" implies "take inventory", which causes me to -give you a list of what you're carrying. Some objects have unexpected -effects; the effects are not always desirable! Usually people having -trouble moving just need to try a few more words. Usually people -trying unsuccessfully to manipulate an object are attempting something -beyond their (or my!) capabilities and should try a completely -different tack. One point often confusing to beginners is that, when -there are several ways to go in a certain direction (e.g., if there -are several holes in a wall), choosing that direction in effect -chooses one of the ways at random; often, though, by specifying the -place you want to reach you can guarantee choosing the right path. -Also, to speed the game you can sometimes move long distances with a -single word. For example, "building" usually gets you to the building -from anywhere above ground except when lost in the forest. Also, note -that cave passages and forest paths turn a lot, so leaving one place -heading north doesn't guarantee entering the next from the south. -However (another important point), except when you've used a "long -distance" word such as "building", there is always a way to go back -where you just came from unless I warn you to the contrary, even -though the direction that takes you back might not be the reverse of -what got you here. Good luck, and have fun! - -> info - -For a summary of the most recent changes to the game, say "news". -If you want to end your adventure early, say "quit". To suspend your -adventure such that you can continue later, say "suspend" (or "pause" -or "save"). To see how well you're doing, say "score". To get full -credit for a treasure, you must have left it safely in the building, -though you get partial credit just for locating it. You lose points -for getting killed, or for quitting, though the former costs you more. -There are also points based on how much (if any) of the cave you've -managed to explore; in particular, there is a large bonus just for -getting in (to distinguish the beginners from the rest of the pack), -and there are other ways to determine whether you've been through some -of the more harrowing sections. If you think you've found all the -treasures, just keep exploring for a while. If nothing interesting -happens, you haven't found them all yet. If something interesting -*DOES* happen (incidentally, there *ARE* ways to hasten things along), -it means you're getting a bonus and have an opportunity to garner many -more points in the Master's section. I may occasionally offer hints -if you seem to be having trouble. If I do, I'll warn you in advance -how much it will affect your score to accept the hints. Finally, to -save time, you may specify "brief", which tells me never to repeat the -full description of a place unless you explicitly ask me to. +> take grate + +I see no grate here. + +> no rub + +OK + +> say axe + +Okay, "axe". + +> say rub + +Okay, "rub". + +> say grate + +Okay, "grate". > _ @@ -639,7 +597,7 @@ Okay, "boo". > score -You have garnered 27 out of a possible 430 points, using 111 turns. +You have garnered 27 out of a possible 430 points, using 113 turns. > z @@ -647,7 +605,7 @@ OK > score -You have garnered 27 out of a possible 430 points, using 113 turns. +You have garnered 27 out of a possible 430 points, using 115 turns. > quit keys @@ -696,7 +654,7 @@ Do you really want to quit now? OK -You scored 27 out of a possible 430, using 121 turns. +You scored 27 out of a possible 430, using 123 turns. You are obviously a rank amateur. Better luck next time. diff --git a/tests/illformed.log b/tests/illformed.log index ce80ae9..1ee23a5 100644 --- a/tests/illformed.log +++ b/tests/illformed.log @@ -4,9 +4,13 @@ foo y seed 1635997320 back -version -help -info +# Caused crashes and hangs before +take grate +no rub +# Next three lines were buggy +say axe +say rub +say grate _ back eat grate -- 2.31.1