in reply to Ways to maintain state in a CGI based card game

A really easy way would be to assign 2 bits to each attribute, giving you an 8-bit number for each card. Just like you do right now for PM, you could just pass around 16 numbers back and forth in the URL. That would maintain the state of the board.

Having not played the game (heard about it, though!), I don't know what else you would need to maintain knowledge of ....

------
We are the carpenters and bricklayers of the Information Age.

Vote paco for President!

  • Comment on Re: Ways to maintain state in a CGI based card game