Commit graph

37 commits

Author SHA1 Message Date
57fb1de78b
introduce tshash 2021-02-16 11:40:52 +08:00
ac0e97eb38
deal with RetryAfterError 2020-04-08 14:15:43 +08:00
55ef79d4a9
new feature: list_games 2019-12-29 18:07:16 +08:00
31e8c5278c
add persistence for games and /reveal 2019-11-20 20:32:27 +08:00
207bc43487
allow lvlup multiple levels 2019-11-18 22:10:52 +08:00
aa77da14df
update for python 3.8 2019-11-18 20:46:22 +08:00
71a2d4fdf3
introduce SafeIntegerField to avoid overflow 2019-11-07 14:32:10 +08:00
6ed39d984f
change cell text 2019-10-26 14:36:12 +08:00
7550e4fc4b
free memory and fix BadRequest 2019-10-21 21:42:24 +08:00
218a0b6191
let got_cards be 1 sometimes 2019-10-21 21:07:34 +08:00
bb66ce364f
fix 2 bugs: gen_statistics called multiple times, dist_cards accepts values too large 2019-10-21 16:57:09 +08:00
5f0a45583f
cards: cards should be got_cards 2019-10-15 20:48:04 +08:00
c6e8c18128
cards: forgot to call save 2019-10-15 20:37:34 +08:00
9719d52230
let first move to be an open 2019-10-15 20:24:33 +08:00
53d3fb4bb5
from_user should be reply_to_user 2019-10-15 19:12:07 +08:00
ae5c7b6eb5
support context based callback, fix bugs, add cards system 2019-10-15 18:51:46 +08:00
864c72f6ce
prevent dead lock 2019-03-01 17:06:38 +08:00
c2b1b81b2b
fix bugs 2019-01-19 17:06:30 +08:00
036550eb42
release the lock at the right time 2019-01-19 15:11:12 +08:00
9d3aa65154
add per game lock 2019-01-19 14:58:04 +08:00
2dcd0fb829
fix bug 2019-01-15 16:13:32 +08:00
c2bea64ca6
change reward mechanism 2019-01-15 15:25:55 +08:00
f580777aec
Add peewee orm to readme 2019-01-15 11:58:55 +08:00
ce49cf9528
bug fix: consider STEPPED_MINE as a flagged mine 2019-01-15 11:54:47 +08:00
2798a3dc22
add more fun 2019-01-15 00:57:48 +08:00
a684ed6505
tgmsbot: workers to 8 2019-01-14 21:32:22 +08:00
109c631914
KBD_DELAY_SECS to 0.5 2019-01-14 21:31:42 +08:00
aa81fba87d
forgot numpy 2019-01-02 15:33:07 +08:00
6a2b33b1b1
it seems that 0.9 is reasonable 2019-01-02 15:32:05 +08:00
d17e3086fa
limit the rate of inline keyboard update 2019-01-02 14:59:04 +08:00
58c6e61a30
stop the game right after the player wins or loses 2018-12-31 10:57:09 +08:00
fe2ea3fe2b
Add readme and minor change 2018-12-30 21:00:54 +08:00
08db857484
telegram does not like keyboard keys to exceed 100 2018-12-30 19:04:38 +08:00
6c8ed2ebc8
added full statistics 2018-12-30 17:07:00 +08:00
e15252bca4
add game report 2018-12-30 15:24:45 +08:00
986300d9fe
several bug fix 2018-12-29 21:25:05 +08:00
b5c7a79ada
first commit 2018-12-29 20:37:07 +08:00