Monday, May 26, 2008

Run announcements and seven swapping complete

Making an offer on a house takes some time, so I wasn't able to get as much done as I had hoped.

The action items that have been completed recently:
  • Play progresses up to (but not including) the playing of the first card. After the bidding process is over, players are offered to swap the seven (if they can), and are presented with their runs which they can choose to announce. The server calculates whose runs win, and only that player announces his/her highest run. (Possible improvement here for the future: simulate a real situation, based on the order of announcements described in Card Games Around the World By Sid Sackson).
  • When a player has logged out when they were in a middle of a game, their status is updated to 'available' so they can be invited to other games.
Next order of business is to allow resumption of a game which had been left. This will be available if all parties involved in the game are available.

No comments: