Commit graph

111 commits

Author SHA1 Message Date
Jannes Höke
1844d1d40a move result builders and utility functions to seperate files 2016-04-29 17:03:02 +02:00
Jannes Höke
ab615f354c special card representation improved 2016-04-29 16:21:03 +02:00
Jannes Höke
3b590d9fca adjust for python-telegram-bot 4.0.1 2016-04-29 11:13:03 +02:00
Jannes Höke
6a0f3cd8c5 Merge pull request #3 from imlonghao/patch
Kicked out of games once he win
2016-04-29 08:05:01 +02:00
imlonghao
971fe8ef88
Kicked out of games once he win 2016-04-29 00:17:14 +08:00
Jannes Höke
9487fdf7f6 Merge pull request #2 from imlonghao/patch
Fix issue when joining a closed game, send message via send_async, se…
2016-04-27 16:12:50 +02:00
imlonghao
0ecf3370e3
Fix issue when joining a closed game, send message via send_async, send message to the sender in same case. 2016-04-27 21:47:11 +08:00
Jannes Höke
cb6c2f2557 Merge pull request #1 from imlonghao/startnum
Change to start number of cards from 2 to 7
2016-04-26 20:39:14 +02:00
imlonghao
6777e0f40c
Change to start number of cards from 2 to 7 2016-04-27 00:20:15 +08:00
Jannes Höke
67daa82ece moar commands, leave always, asynchronous sending, game switching [untested] 2016-04-26 17:53:29 +02:00
Jannes Höke
c1ef321cc3 experimental: multiple games 2016-04-24 02:11:37 +02:00
Jannes Höke
c22e91eafa allow leaving game if two or less players are in game 2016-04-23 22:31:07 +02:00
Jannes Höke
ded3c7684b make sendmessage and answerinlinequery asynchronous 2016-04-23 22:13:15 +02:00
Jannes Höke
317b4662d1 add newline in help text 2016-04-20 01:32:02 +02:00
Jannes Höke
f79ce4e0fa update draw and pass sticker 2016-04-20 00:58:12 +02:00
Jannes Höke
9a763936cd use stickers instead of text/link results 2016-04-20 00:55:56 +02:00
Jannes Höke
f04d8d32e5 add new images 2016-04-20 00:55:31 +02:00
Jannes Höke
a118704e48 update ptb version 2016-04-19 02:40:27 +02:00
Jannes Höke
2a637da75f forcefully remove player if he leaves the group 2016-04-19 02:22:42 +02:00
Jannes Höke
746a9ff745 implement simple anti-cheat system 2016-04-19 01:26:38 +02:00
Jannes Höke
28863876da switch codebase to bot-api-2.0 and minor improvements 2016-04-19 00:45:27 +02:00
Jannes Höke
b17dcf5cdc catch error when trying to join ended game 2016-04-19 00:42:23 +02:00
Jannes Höke
daa211b692 do not begin with special card 2016-04-19 00:41:48 +02:00
Jannes Höke
c5c314a9b1 use color emoji 2016-04-19 00:41:23 +02:00
Jannes Höke
bc9c057d57 fix bluffing again 2016-04-19 00:40:57 +02:00
Jannes Höke
95fe601f6d scale thumbs to 80px height 2016-04-19 00:39:54 +02:00
Jannes Höke
5df4e1fd30 rule fixes and interface optimizations 2016-03-31 16:07:35 +02:00
Jannes Höke
6aff43eb99 fix tests 2016-03-11 10:58:45 +01:00
Jannes Höke
a79add4745 fix /start command 2016-03-11 09:33:01 +01:00
Jannes Höke
367d16e85f major change in game creation, fixed some bugs 2016-03-11 09:24:53 +01:00
Jannes Höke
c144fb7c3b Add empty BOTAN_TOKEN to credentials.py 2016-03-09 11:33:02 +01:00
Jannes Höke
943365cdd7 added logo 2016-03-09 11:31:54 +01:00
Jannes Höke
13946e63bc some refactoring, botan tracking, join command 2016-03-09 11:31:38 +01:00
Jannes Höke
cebffecc35 +4 on +4, skip turn 2016-03-08 12:54:16 +01:00
Jannes Höke
9d543653c7 disable link preview for join link 2016-03-08 03:08:35 +01:00
Jannes Höke
d631506d04 tidy up reply_to_query 2016-03-08 02:59:51 +01:00
Jannes Höke
71ebb72215 Update README.md 2016-03-08 02:51:21 +01:00
Jannes Höke
1f7466cba5 Add comments everywhere 2016-03-08 02:50:45 +01:00
Jannes Höke
16cfbb611c Update README.md 2016-03-08 02:11:38 +01:00
Jannes Höke
7705af79fa add .idea to gitignore 2016-03-08 02:04:20 +01:00
Jannes Höke
c790d2ae9f add help command 2016-03-08 02:03:14 +01:00
Jannes Höke
6fc1fc3ddb remove thinking.jpg 2016-03-08 02:02:31 +01:00
Jannes Höke
f1be0d54e4 fix start_bot call 2016-03-08 00:03:16 +01:00
Jannes Höke
7c100bc5ba Some refactoring, sorting out a few bugs and fix rules 2016-03-07 23:50:39 +01:00
Jannes Höke
14c4f0732b show playable cards 2016-03-01 09:43:01 +01:00
Jannes Höke
63a2a4ca81 always use current player for showing whose turn it is 2016-03-01 09:32:21 +01:00
Jannes Höke
f937aea051 @username and dont try to sort a bool 2016-03-01 09:26:24 +01:00
Jannes Höke
b6f156327d include username in status message to notify player, if available 2016-03-01 03:15:07 +01:00
Jannes Höke
2dedb16cb8 dont turn if the drawn card doesnt fit so we don't give away anything about that card 2016-03-01 03:04:43 +01:00
Jannes Höke
0efcf8403e fix bluff card amounts 2016-03-01 02:53:07 +01:00