Check out Modern Chess, our featured variant for January, 2025.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

@ Bob Greenwade[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Wed, Nov 15, 2023 05:02 PM UTC in reply to Bob Greenwade from 04:01 PM:

The small diagram is hard to read, and it might not be necessary with Game Courier, as long as it is programmed to enforce rules and display legal moves. One alternative would be to make the diagram larger, but we do want to keep cards small enough to fit a hand of them on the screen.

One more thing a card will need is an ID. While physical cards don't need IDs, Game Courier needs to give each one an ID so you can tell it which cards to play or discard. The ID is also useful for shuffling cards and for distinguishing duplicate cards. While the piece name could work as an ID, it would work only if you had only one card for each piece. In the card decks I already have, the cards are stored in an array, and the IDs are the array keys.

In some games, cards also have values. I'm supposing that's not a detail of the cards in your game.