Chess v1.0 From: grue@cs.uq.oz.au (Paul Dale) Newsgroups: comp.sources.hp48 Date: 20 Sep 91 01:53:50 GMT hi, Due to rather heavy demand for my chess program for the 48, I've decided to post it in its current incomplete form. I am not intending to improve this program in the near future. If I ever write another chess program for the 48, it will be machine code rather than RPL but don't wait for it to appear. Briefly, to make a move enter the start coords and the finish coords of the piece being moved (e.g. e2e4 is the same a P-K4 in the initial position). To give up early enter 'quit', to pause the game enter 'halt' and to swap colours enter 'swap'. All entries (moves or special commands) must be followed by the enter key. If you make an error, you can type in the new command right away...the program only keeps the last four characters typed. After you type enter, be ready for a long wait. The program is very, very slow. Some of my debugging messages are still in place and they relieve the boredom a little. The program doesn't play a very good game, and it plays very slowly. I originally wrote this just to prove that it could be done (that was back on a HP28S). It was my first large programming effort for the 28 and I've learnt a lot since then about how RPL works and I would not write the program the same way if I was writing it now. Thanks to Eddie (lost your e-mail address sorry) for converting the graphics from the 28 version to the 48 version. The actual play should be the same between the two versions. Pauli Paul Dale | Internet/CSnet: grue@cs.uq.oz.au Dept of Computer Science| Bitnet: grue%cs.uq.oz.au@uunet.uu.net Uni of Queensland | JANET: grue%cs.uq.oz.au@uk.ac.ukc Australia, 4072 | EAN: grue@cs.uq.oz | UUCP: uunet!munnari!cs.uq.oz!grue f4e6g4Qh4++ | JUNET: grue@cs.uq.oz.au