[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]
Check out Janggi (Korean Chess), our featured variant for December, 2024.
Check out Janggi (Korean Chess), our featured variant for December, 2024.
This is along the same lines as an idea I had when I woke up during the night. My idea is that you could incorporate some kind of select-case structure into a move definition that allows you to use different Betza codes for the piece on different spaces. Using the Numskull as an example, it might start out something like this:
For the sake of a game like Xiangqi, you could allow the use of wild cards in designating coordinates. So a Pawn definition might look like this:
Here the * functions like default in a select-case statement by coming at the end.