What is it?
It's a spec_proc and supporting functions for a game of chess.
What did you say?
Chess. It has 5 letters. It's a pithy little annoying game that
people who want to claim intellecualism play for hours at a time, and end
up convincing themselves that it's more fun than a myraid of other things
like poker, or binge drinking or channel surfing (minus the home shopping
network). It's what social rejects did before net access became a basic
utility, but still ranks slightly lower than hiding boogers on the
underside of their desk.
God, I can't believe I was in the "Chess Club" in highschool. Good thing
all we did was play warhammer40K and eat donuts.
How does it work?
(user-side)
First, procure a chessboard. Then, type setup. It wants
confirmation that you really want to setup the game, so you'll have to
type it again.
Now, you'll need two players. Each one will want to type 'join'.
This will allow them to, simply put, join the game.
Now, you will want to look at the board. If you're unfamiliar
with the rules, look at the rules (ex: look rules, look board).
Moves are entered in the following way;
move
So, move c 4 c 5, or move e 5 f 8, etc.
You can keep playing until you've killed the king. Then you win.
Notch your belt and go back to the top (setup).
(technical view)
You'll want to attach the spec_proc to an item with it's values
all set to 0. It would be bad if you messed with the object values, as
they define the state of the game at any one given moment, as well as
which game it is -
In order to have multiple games, each individual instantation
of a single game is given an identifier number. This is so you can have
multiple games on duplicates of the same object. This is stored in the
3'd object value, and messing with this would be bad.
When you install it, you'll want to create the file
lib/text/chess. It's going to have to contain the rules. I'm not writing
the rules of chess up for you.
No problem.
What do I have to do?
Nothing, should patch in cleanly.
Wanna see a scary picture of me?
http://www.imaxx.net/~dughi/me/rage2.jpg
Caption should read either "RAAARGH!" or "I AM HUGE!" or.. "SNAP INTO A
SLIM JIM!". And no, I shave, that's makeup that wore off when I had a 12
pack of beer dumped on me. Those fun-lovin' guys. *shrugs*
Laughs, Jibes, humor, sexual offers (women only! Eeep!), compliments, bug
reports, and things of that sort to dughi@imaxx.net.
PjD