Commit Graph

15 Commits

Author SHA1 Message Date
berryman 6bffe76416 cleaning up incrementation 2012-12-14 17:33:26 -05:00
berryman 4f3fae7e79 simple score dict. 2012-12-14 17:03:44 -05:00
berryman d4e1b08726 end_round takes a winner, and a dictionary of cards that were played, removes the cards from the players hand, and gives them a new card. 2012-12-14 16:55:30 -05:00
berryman 65f96be425 game logic for advancing the round 2012-12-12 23:31:35 -05:00
berryman 3f028cbea3 test case for game object tests all of it's own objects 2012-12-12 22:13:15 -05:00
berryman 9da22dbb3b testing of the PlayerHand built by game 2012-12-12 21:44:40 -05:00
berryman e4fdaaaf41 init game object and all players get a hand 2012-12-12 21:31:39 -05:00
berryman 9c448e83b3 you know what it is 2012-12-12 20:28:38 -05:00
berryman 8fb29cf343 strip \n from text; test for control characters; remove redundancy from tests; 2012-12-08 15:38:24 -05:00
berryman a2fa3b3110 assign answer attribute to Card using kwargs; make the test cases check question cards 2012-12-08 15:31:21 -05:00
berryman eb2c66aa3f count the number of answers needed for a question card 2012-12-08 15:11:47 -05:00
berryman 6006fc0dd0 [They] own the name “Cards Against Humanity,” so [we] have to call [our] crappy thing something else.; encoding errors in questions 2012-12-08 14:52:50 -05:00
berryman d70f6a5957 add card files; parse lines from card files and store as Card objects; remove redundant 'card' from Card.attributes; test for card object; 2012-12-08 14:16:17 -05:00
berryman 7655eb759f clean up variable names; doc string for tests 2012-12-08 12:49:06 -05:00
berryman 0229a85ec3 basic testing 2012-12-06 22:43:56 -05:00