Commit Graph

28 Commits

Author SHA1 Message Date
berryman f8db17c8fb example code extended 2012-12-12 23:50:34 -05:00
berryman 1de8d03709 example code added 2012-12-12 23:38:37 -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 1ad5c158b5 gitignore 2012-12-12 21:47:36 -05:00
berryman d752f2155e Merge remote-tracking branch 'origin/master' 2012-12-12 21:44:57 -05:00
berryman 9da22dbb3b testing of the PlayerHand built by game 2012-12-12 21:44:40 -05:00
Bearcode e453ded92b Merge pull request #1 from scottjab/master
Boiler plate and pregamecode for the bot.
2012-12-12 18:39:34 -08:00
James Scott 9898162106 A bunch of additions, basic bot boiler plate, and the pregame code for the initial game logic, and the basic session handling. Pregame should be the next commit. 2012-12-12 21:35:11 -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 144f439f1b deduplicate the question cards from the three source files 2012-12-08 14:44:52 -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 9bb5a28c39 remove ss 2012-12-06 22:45:03 -05:00
berryman 0229a85ec3 basic testing 2012-12-06 22:43:56 -05:00
berryman 3207afb3fc removed subclass and passed 'cah' variable as a deck 2012-12-06 21:48:40 -05:00
Jazzahn e4a59fb264 Working out bugs 2012-12-06 21:40:04 -05:00
Jazzahn 74040bf508 Created backbone for game logic 2012-12-06 20:36:41 -05:00
Jazzahn 130fa129a4 Merge pull request #1 from Bearcode/master
A few fixes
2012-12-06 15:45:16 -08:00
berryman 693d254938 indentation error; create instance 2012-12-06 18:43:33 -05:00
Jazzahn 7f685bb686 Merge branch 'master' of https://github.com/Jazzahn/supybot-cah 2012-12-06 18:37:23 -05:00
Jazzahn 67abe8faa9 Initial commit 2012-12-06 15:31:01 -08:00
Jazzahn 2e719524ee Created logic for drawing cards 2012-12-06 18:29:24 -05:00