############ # Rummy.py # ############ v0.0.1 - July 4, 2008 v0.0.1 expands on the capabilities of the 0.0.1a preview, satisfying the major actions that are possible in the game of rummy: picking up, melding, rummying, replacing wildcards, and discarding. Time was lost when trying to migrate to a better solution when sending data between client and server, but the worst seems to be ironed out. There are some minor things missing, such as checking to see if the card that a wildcard is mimicing is already in another meld, which I feel can be fixed/added when implementing custom rule sets for the next release (ie, allow/disallow viewing of the entire discard pile). Also, doing so requires cleaning of the meld-check code, which will happen while arriving at the next release. v0.0.1a - June 20, 2008 This release is completely new code. In an attempt to have networking support, modularization was neccessary. Fixing the existing code seemed like a task for someone with patience beyond anything I'm capable of. The capabilities of the server are limited at the moment. Connections can be made to the server and a client can make two choices: end their turn or quit. The next step is picking up and discarding which involves passing card information. Enjoy! cards.py - card and meld classes and helper functions talk.py - server/client lingo constants game.py - game class containing non-network-related server/game functions and values, including the pickup and discard piles, player lists, etc. server.py - server specific code client.py - client interface to server module test_server.py - starts a server to test. test_client.py - a client to test a running server. All code written by Jon Kivinen (as far as I know) and is hereby released under the conditions of the GPLv2 license (http://www.gnu.org/licenses/gpl-2.0.html).