Commit Graph

29 Commits

Author SHA1 Message Date
JerryXiao 0e17748e3a
what the f**k why would you add lock to the user and chat object, are you crazy? 2021-12-13 20:49:32 +08:00
JerryXiao 99f7055178
update for python 3.10 2021-12-13 19:51:15 +08:00
JerryXiao 533ad72741
change UNOPENED_CELL emoji 2021-04-09 16:17:38 +08:00
JerryXiao 57fb1de78b
introduce tshash 2021-02-16 11:40:52 +08:00
JerryXiao ac0e97eb38
deal with RetryAfterError 2020-04-08 14:15:43 +08:00
JerryXiao 55ef79d4a9
new feature: list_games 2019-12-29 18:07:16 +08:00
JerryXiao 31e8c5278c
add persistence for games and /reveal 2019-11-20 20:32:27 +08:00
JerryXiao 207bc43487
allow lvlup multiple levels 2019-11-18 22:10:52 +08:00
JerryXiao 6ed39d984f
change cell text 2019-10-26 14:36:12 +08:00
JerryXiao ae5c7b6eb5
support context based callback, fix bugs, add cards system 2019-10-15 18:51:46 +08:00
JerryXiao 864c72f6ce
prevent dead lock 2019-03-01 17:06:38 +08:00
JerryXiao c2b1b81b2b
fix bugs 2019-01-19 17:06:30 +08:00
JerryXiao 036550eb42
release the lock at the right time 2019-01-19 15:11:12 +08:00
JerryXiao 9d3aa65154
add per game lock 2019-01-19 14:58:04 +08:00
JerryXiao 2dcd0fb829
fix bug 2019-01-15 16:13:32 +08:00
JerryXiao c2bea64ca6
change reward mechanism 2019-01-15 15:25:55 +08:00
JerryXiao ce49cf9528
bug fix: consider STEPPED_MINE as a flagged mine 2019-01-15 11:54:47 +08:00
JerryXiao 2798a3dc22
add more fun 2019-01-15 00:57:48 +08:00
JerryXiao a684ed6505
tgmsbot: workers to 8 2019-01-14 21:32:22 +08:00
JerryXiao 109c631914
KBD_DELAY_SECS to 0.5 2019-01-14 21:31:42 +08:00
JerryXiao 6a2b33b1b1
it seems that 0.9 is reasonable 2019-01-02 15:32:05 +08:00
JerryXiao d17e3086fa
limit the rate of inline keyboard update 2019-01-02 14:59:04 +08:00
JerryXiao 58c6e61a30
stop the game right after the player wins or loses 2018-12-31 10:57:09 +08:00
JerryXiao fe2ea3fe2b
Add readme and minor change 2018-12-30 21:00:54 +08:00
JerryXiao 08db857484
telegram does not like keyboard keys to exceed 100 2018-12-30 19:04:38 +08:00
JerryXiao 6c8ed2ebc8
added full statistics 2018-12-30 17:07:00 +08:00
JerryXiao e15252bca4
add game report 2018-12-30 15:24:45 +08:00
JerryXiao 986300d9fe
several bug fix 2018-12-29 21:25:05 +08:00
JerryXiao b5c7a79ada
first commit 2018-12-29 20:37:07 +08:00