Source Code to Trading Punches (version 1.9)
Copyright (C) 2004-2005 by Mike Snyder
Requires the HUGO 3.0 compiler by Kent Tessman

I hope this is a benefit to other HUGO authors! Also keep in mind that it
was my first HUGO game... if I did things the wrong way, or if you see ways
I could have improved the code, let me know! I probably won't update this
game, but it would be a benefit in my future project!

You might find some interesting and useful stuff in utils.hug and maybe
misc.hug. Also, check out newverbs.g and newverbs.h for some extensions I
made to the default libraries. One of the coolest is the "Ask NPC for ITEM"
alternate for "Get ITEM from NPC". I also made more use of the "speaking"
public variable, so I could extend the ASK and TELL verbs (I.e., once you
are speaking to somebody, "Tell About X" will work. Well, it doesn't do
much in this game because my NPC's know nothing, but it was interesting.
I also implemented a CLS/clear verb, and there is some code in here for
doing quick and easy string compares, using the strings in a verb, etc.

I added a hints.hug after the competition, which might be of interest to
other authors. There may be easier and better ways of doing it, but I'm
kind of partial to the way I did the hint system. Anyway, there it is.


Enjoy!

Mike Snyder
sidneymerk@hotmail.com
     --- or ---
wyndo@prowler-pro.com
