Commit graph

105 commits

Author SHA1 Message Date
Juhani Krekelä
0774f5478a Display $0 correctly in round call card 2019-05-19 18:02:42 +03:00
Juhani Krekelä
0959b2c82f Add more details about minimum required amount of players 2019-05-19 17:26:21 +03:00
Juhani Krekelä
c5a58dac4e Handle IRC formatting 2019-05-15 20:50:02 +03:00
Juhani Krekelä
396b3c0185 Ignore leave-events from ppl not in the game.
Since leave-event was hooked up into ppl quiting and parting from the
channel as well as doing !leave, the message telling ppl were not in the
game would get triggered unintentionally.
2019-05-14 22:00:06 +03:00
Wolfgang Müller
b38912b41d Add support for a random pick from a selection of cards
!card now accepts a comma-separated list of numbers from which it will
select one randomly, with equal probability. This selection is made
before the card event is sent out and is fully transparent to the rest
of the game logic.
2019-05-13 22:57:21 +03:00
Juhani Krekelä
adfd2c81c8 Don't distrubute Nones from the hand overflow 2019-05-13 10:38:04 +03:00
Juhani Krekelä
1781614e27 Put a maximum length for cards 2019-05-12 19:29:50 +03:00
Juhani Krekelä
8db8da3d16 Add extra cards for >1 blanks 2019-05-12 19:15:11 +03:00
Juhani Krekelä
7365619fcb arg = args() → args = arg() 2019-05-12 14:32:52 +03:00
Juhani Krekelä
c688acf55e Split usage info into its own function and use that to display usage if !command is misused 2019-05-12 14:30:13 +03:00
Juhani Krekelä
1ffb82ebc1 Add !redeal 2019-05-11 20:55:40 +03:00
Juhani Krekelä
cf6e2fea93 Add preset offtopia-norandom 2019-05-11 20:35:27 +03:00
Juhani Krekelä
b4157536bd Add [] around $0 2019-05-11 20:34:15 +03:00
Juhani Krekelä
ad02585819 Rando can require at min 0 cards 2019-05-11 11:08:31 +03:00
Juhani Krekelä
c3ef05382f Start game with !join 2019-05-10 22:01:22 +03:00
Juhani Krekelä
f63dc2565b !join message 2019-05-10 21:46:39 +03:00
Juhani Krekelä
d991f3c059 Add starting with presets to debug interface 2019-05-10 21:13:03 +03:00
Juhani Krekelä
4dd40f8053 Tell about limit at start of the game 2019-05-10 19:56:39 +03:00
Juhani Krekelä
1e5eb46239 Make bot name optional 2019-05-10 19:54:30 +03:00
Juhani Krekelä
e86915927c Send a message on bot add 2019-05-10 19:34:51 +03:00
Juhani Krekelä
ee7d3baa9e [###cards] → ###cards, for real this time 2019-05-10 19:34:04 +03:00
Juhani Krekelä
8b681669d1 Fix typo 2019-05-10 19:26:16 +03:00
Juhani Krekelä
fab9ba14d4 Rando! 2019-05-10 19:25:55 +03:00
Juhani Krekelä
34e397a9db Add :Deck support 2019-05-10 18:01:05 +03:00
Juhani Krekelä
ef0bef0bcc Add support for changing base url for cardcast_api.py 2019-05-10 17:52:22 +03:00
Juhani Krekelä
d596d55eff [###cards] → ###cards, so ppl don't think it's a card in their hand 2019-05-09 10:35:34 +03:00
Juhani Krekelä
996a25cf45 Handle !start <preset> gracefully in game_setup 2019-05-09 10:34:38 +03:00
Juhani Krekelä
819803d998 Add !kick 2019-05-07 12:05:59 +03:00
Juhani Krekelä
81f618cabc More info when restarting round due to losing cards 2019-05-07 11:48:50 +03:00
Juhani Krekelä
b8c6e2ac41 Give more info about random decks when adding 2019-05-07 11:46:16 +03:00
Juhani Krekelä
97794c2e82 Don't shout about !starting if ppl leave the chan 2019-05-07 11:42:40 +03:00
Juhani Krekelä
0bf7fda9ba Tell the czar at the start of the round 2019-05-06 21:30:39 +03:00
Juhani Krekelä
63389568d4 Tell players what deck they added 2019-05-06 21:28:55 +03:00
Juhani Krekelä
02be4bf79f Whoops 2019-05-06 21:01:54 +03:00
Juhani Krekelä
929f54430d !card to for communism 2019-05-06 20:58:40 +03:00
Juhani Krekelä
59bcafe1f7 Update TODOs 2019-05-06 19:41:05 +03:00
Juhani Krekelä
9bdc8fdf8c Remove cards from removed deck, add !origins 2019-05-06 19:37:29 +03:00
Juhani Krekelä
6113dae84c Remove players who have left from players_ready 2019-05-06 18:59:07 +03:00
Juhani Krekelä
7d905b3b95 Keep track of where cards come from 2019-05-06 18:56:26 +03:00
Juhani Krekelä
3328545bf1 Thanks Shikhin 2019-05-06 18:14:29 +03:00
Juhani Krekelä
3d29e2c994 Do +v/-v 2019-05-06 16:00:55 +03:00
Juhani Krekelä
46084d4f64 Turn ___ into _ 2019-05-06 15:18:51 +03:00
Juhani Krekelä
df7132725f Suppory $0 2019-05-06 15:11:10 +03:00
Juhani Krekelä
23d681833c Don't try to identify with no password 2019-05-06 15:10:54 +03:00
Juhani Krekelä
8c09399ef7 Prevent playing the same card twice with multiblanks 2019-05-06 14:57:04 +03:00
Juhani Krekelä
91bea13796 Prefix notices with [#chan] 2019-05-06 14:50:35 +03:00
Juhani Krekelä
61a2fdd095 Increase wait before attempting to join channels 2019-05-06 14:35:10 +03:00
Juhani Krekelä
344f5314ca No more #debg 2019-05-06 14:31:19 +03:00
Juhani Krekelä
2f33f431e2 Add presets 2019-05-06 14:29:34 +03:00
Juhani Krekelä
55e27fd94e Do line wrapping for long messages 2019-05-06 14:13:13 +03:00