Files
wagic/projects/mtg
techdragon.nguyen@gmail.com 5e651f03b2 moved mulligan code out of GameStateDuel and into Player base class. Taking a mulligan seems better
encapsulated as a player function rather than loose code inside the state transitions of GameStateDuel

Note: Inside of the mulligan code I assigned game to currentPlayerZones for clarification rather than
something functionally required.  "game" seems ambiguous as "game" is also referenced throughout the code for the GameObserver
keeping this change localized to this method until more analysis can be done.  The pattern that was here before was
game->currentPlayer->game
where the first "game" represented the GameObserver and the second the collection of zones (MTPPlayerCards) to the current player.
I would suggest changing the Player instance of game to something that represents its data, the game zones associated to the current player.
"game" seems too generic, as it can be interpreted to encompass many things rather than just dealing with the different zones (library, exile, discard, etc )
2011-01-28 13:30:29 +00:00
..
2009-11-29 06:45:50 +00:00
2009-11-04 13:33:21 +00:00
2008-11-02 09:50:16 +00:00
2008-11-02 09:50:16 +00:00
2010-10-06 08:45:55 +00:00
J :
2009-11-08 02:55:14 +00:00
J :
2010-05-05 02:50:49 +00:00