| Author |
Message |
Sean Duggan (Dream)
| | Posted on Monday, January 27, 2003 - 7:33 am: | |
In the spirit of having received ZoG 2.0, I started implementing a version of Martian Chess as seen in the games for the Icehouse set of pyramids. The game is played on a regular 8x8 board with two or four players with one of the twists being that ownership of a piece is decided by zones (Each player getting a 4x4 corner) rather than by color. The game is won by amassing points by capturing pieces, the game ending when one player runs out of pieces. I have the zones implemented. It's that second bit with points where I'm somewhat stalling. I understand the code to count posted at the bottom of the page and I think I understand the binary enough to implement a compare to find who has won, but I'm more than a bit iffy on how to configure the board to display score if indeed that is necessary. I don't suppose someone has already implemented this game, thus saving me the trouble? Rules can be found at: http://www.wunderland.com/icehouse/MartianChess.html |
Richard Hutnik (Richardhutnik)
| | Posted on Wednesday, January 29, 2003 - 3:02 pm: | |
Hey, glad to see you are working on it. I had an interest in doing up the game also. Perhaps I can help. Is the problem with tracking or displaying? For displaying, check out Quadwrangle: http://zillionsofgames.com/games/quadwrangle.html As for tracking scoring, perhaps you could put pieces into a reserve off board and see which reserve is larger in the end of the game. Anyhow, feel free to send me email so we can discuss. Then post here if you get a solution. My email: richardhutnik@hotmail.com |
Sean Duggan (Dream)
| | Posted on Sunday, March 02, 2003 - 3:36 pm: | |
Currently, I can get the score displayed (Using a decimal set of dummy pieces right now), but determining who has the most points is still giving me some fits. The only function in zillions to compare pieces seems to be count-condition and I don't think it's flexible enough for my purposes. As far as I can tell, there's no way to get it to only count a certain type of pieces (Like just scoring ones). The QuadWrangle setup doesn't quite work because there score is a reflection of the number of pieces on the board. At the time when I need to count pieces, there are stil pieces from other people on the board. My best guess would be that I could use count-condition if I could somehow find a way to clear the onboard pieces from the board before counting... but how would one do that? |
Peter Aronson (Peteraronson)
| | Posted on Monday, March 03, 2003 - 2:15 pm: | |
Sean, if you make all of the pieces on the board neutral (reasonable for Martian Chess), and give each player as many dummy pieces as pieces starting on the board, then count-condition should be fine. |
|