| Author |
Message |
Peter Stobbe (Pgs)
| | Posted on Saturday, November 15, 2003 - 2:08 pm: | |
For many games, the winner is the player with the highest score, where the score is the combined value of the pieces they control at the end of the game. If all pieces have the same value, then this is the Zillions count condition. But for other games (eg. Dvonn), not every piece is worth the same amount. I'd like to see a piece argument that allows you to specify the value of the piece for purposes of winning with a count condition. For example, within a piece definition: (count-value number) The number should be able to be zero or even negative to allow for penalty pieces. Obviously there should be a limit on how large it can be, but I think -127 to 127 (8-bit signed integer) would be a large enough range for most games. I think it's currently possible to simulate this functionality using invisible dummy pieces, but it seems so tedious I've never tried it. Also, by relying on dummy pieces for your win condition, you can't really edit positions correctly. |
Joonas Kekoni (Jkekoni)
| | Posted on Thursday, January 20, 2005 - 9:55 am: | |
I agree, but I think 8 bit is not enough, but 32 bit should be. My game (corner) has pieces with values 1-10. and there are 64 pieces. This example shows that 8 bit is easy to overflow. My game scores using dummy pieces. They are visible for player, so they cansee their score. I think scoring should not limit to victory condition, but there should be other ways to add score. Also way to show score would be nice. I think dummy pieces are evalutaed by AI, so the will slow the engine down. I do know is this is remarkable, if the dummies do not move, pro |
|