Tesserae for the Palm

This is my attempt to create a tesserae clone for the palm. If you aren't familiar with it, Tesserae is game written for windows, macintosh and gameboy (maybe NES too...I don't know) that is an adaptation of Kent Brewster's text mode dos game Stained Glass. This was a project I worked on while unemployed during summer of 2002. This was simultaneously my first real exposure to large scale programming in C (not C++), managing my own memory and palm programming -- as might be expected, it's kind of messy. I think I did a pretty good job for a first try, but there are certainly problems.

The current version (2004-Jan-07) has a bug dealing with the detection of valid moves from the currently selected location. It happens if you click on a tile in the bottom two rows (broken pointers). Older versions (go back a few versions...like maybe till 2002 even) don't have that.

The game is capable of generating boards that are 5x5 all the way up to 10x9. Actually the game can generate boards of any size, it just doesn't make sense to make boards smaller (game rules) or larger (160x160 pixels doesn't go very far). Currently there is no high-res support, but I designed much of the code with high-res support in mind. The game supports both color and grayscale perfectly. The game has an dynamically allocated/resized undo functionality so at any point you can undo the moves back to the starting point of the level. It can also handle boards of different shapes through the use of disabled squares. At this point these must be hard coded in to be used, but again, the support code is there, I just need to work on a a way of loading/saving/editing boards.

This game is compiled using prc-tools under windows with cygwin. It uses pilrc for resource compiling. I have not tested this code with the metrowerks codewarrior compiler, I bet it won't work.

Go ahead and download from the archive.

Here are some screenshots: