Commit Graph

106 Commits

Author SHA1 Message Date
James Scott 415a07a966 next_round not nextround() 2012-12-13 23:18:52 -05:00
James Scott b559fcc281 Added some exception handling for the nextround method 2012-12-13 23:17:19 -05:00
James Scott d4623a9c8d getting rid of uneeded try catch block 2012-12-13 23:14:22 -05:00
James Scott ce01c1cd98 getting rid of the old way of finding a channel 2012-12-13 23:11:51 -05:00
James Scott 1527cffabf Fixed the force start game 2012-12-13 23:08:00 -05:00
James Scott 7c7835a3d6 fixed passthough command 2012-12-13 23:04:39 -05:00
James Scott 1d53b23b3c some debugging and added a passthough event for starting the game 2012-12-13 23:01:29 -05:00
James Scott e5195ac84a fixing game class name 2012-12-13 22:50:44 -05:00
James Scott 95ac198873 fixed msg.nick 2012-12-13 22:43:24 -05:00
James Scott 6a0b86f8af Small fixes, moved events back to self references, and fixed a typo for the game object list. 2012-12-13 22:42:13 -05:00
James Scott 6ec0ed3601 No super 2012-12-13 22:39:37 -05:00
James Scott 786bea72b3 Helps if I rename this 2012-12-13 22:38:43 -05:00
James Scott 30a0c2d4ee Fixing self renference for the inner class. 2012-12-13 22:37:40 -05:00
James Scott 9c3c042fd4 Fixed a classname conflict 2012-12-13 22:36:11 -05:00
James Scott ef05e2f7d5 getting rid of the self references for the schedules 2012-12-13 22:33:33 -05:00
James Scott 7271257924 Maybe this 2012-12-13 22:32:49 -05:00
James Scott bfb24de6bd Some small fixes 2012-12-13 22:30:31 -05:00
James Scott dc35751868 Lots of changes, moved most of the game logic into a class, this should fix the scheduling issues, lots of bug commits comming. 2012-12-13 22:23:39 -05:00
James Scott 4df02ab5f7 bugs! 2012-12-13 20:52:19 -05:00
James Scott bd4d0f1bda it helps if we tell the bot we can start 2012-12-13 20:49:36 -05:00
James Scott 58e1eeda05 Sublime and slow fingers 2012-12-13 20:45:04 -05:00
James Scott 1d21bca63f Fixed the maxPlayers typo 2012-12-13 20:43:22 -05:00
James Scott 5ba83c59b3 debugging! 2012-12-13 20:39:53 -05:00
James Scott c8d0754d9d added RUNNING init 2012-12-13 20:37:00 -05:00
James Scott f06738f4ff More fixng small drunk bugs. 2012-12-13 20:35:13 -05:00
James Scott 9e72447a06 fixed some small typos, should use a linter 2012-12-13 20:29:26 -05:00
James Scott 22b92e5666 renamed the camel case methods to lowercase 2012-12-13 20:25:14 -05:00
James Scott 6eb7e78b51 Seeing if standardizing the methods will fix the problem I am seeing with the command scanner. 2012-12-13 20:22:15 -05:00
James Scott 3d3952fa09 it helps to have code that actually will raise the exception you are catching. 2012-12-13 20:16:17 -05:00
James Scott 3681e0086a Stupid typos, sorry for shitting up the commit graph. 2012-12-13 20:14:00 -05:00
James Scott 38485e206a Fixed the start game command 2012-12-13 20:12:51 -05:00
James Scott 97ea0611ac fixed the constructor 2012-12-13 20:09:41 -05:00
James Scott 831b2d229a found drunken code issues 2012-12-13 20:06:23 -05:00
James Scott 9392650bc2 Damn encoding issues 2012-12-13 20:04:51 -05:00
James Scott 7e4b3bb9ab Rewrote that line to fix the encoding 2012-12-13 20:02:30 -05:00
James Scott a19710d0fe added encoding 2012-12-13 19:57:49 -05:00
James Scott 891f76f394 added a stop method to start testing basic irc functions 2012-12-13 19:51:13 -05:00
James Scott 87674a8c81 More work on the game logic, and some small fixes with flow control.
I am sure there are a lot of bugs, but this is a step.
2012-12-13 10:18:48 -05:00
James Scott d405d6720a fixed the prefixNick typo. 2012-12-12 23:49:26 -05:00
James Scott f34a4798df Added basic untested voting. 2012-12-12 23:46:22 -05: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 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
berryman 693d254938 indentation error; create instance 2012-12-06 18:43:33 -05:00
Jazzahn 2e719524ee Created logic for drawing cards 2012-12-06 18:29:24 -05:00