Commit graph

258 commits

Author SHA1 Message Date
Jannes Höke
0c3f623cd9 small fixes & translation updates 2016-05-23 01:54:56 +02:00
Jannes Höke
0e680c6e30 update it_IT and add pt_BR 2016-05-23 00:45:44 +02:00
Jannes Höke
c7b6649438 add italian translations (big thanks to Carola and nick!) 2016-05-22 23:35:16 +02:00
Jannes Höke
c477701b75 Merge pull request #8 from jh0ker/fix-code
Fix code
2016-05-22 19:24:59 +02:00
Jannes Höke
ba47f4c19e final version? 2016-05-22 19:21:51 +02:00
Jannes Höke
4cdffffa5f Optional multi-translations 2016-05-22 17:02:27 +02:00
Jannes Höke
005445c4dd add database file to gitignore 2016-05-22 14:47:26 +02:00
Jannes Höke
6c610c1aeb settings UI added, save locale to database 2016-05-22 14:45:51 +02:00
Jannes Höke
cddf13dc5d add __ function to translate complete stack, add dummy decorators to pull locales from db 2016-05-22 03:13:05 +02:00
Jannes Höke
5ece46527a locales are working, added de_DE locale 2016-05-21 21:41:38 +02:00
Jannes Höke
becc7e28dc fix broken method call 2016-05-21 18:56:58 +02:00
Jannes Höke
a02813477a more stable first-card drawing 2016-05-21 18:56:27 +02:00
Jannes Höke
73365f49fc draw method reset draw counter on empty deck 2016-05-21 18:55:53 +02:00
Jannes Höke
d5b76c5c12 fix result list generation 2016-05-21 18:55:03 +02:00
Jannes Höke
a39fa85b3b more translation supprt 2016-05-20 18:35:21 +02:00
Jannes Höke
aee310ec9c handle empty decks on player join 2016-05-20 18:34:27 +02:00
Jannes Höke
0dcd1f6cdc use regular formatting 2016-05-20 17:55:08 +02:00
Jannes Höke
2316ab8a1c pot formatting 2016-05-20 17:53:01 +02:00
Jannes Höke
8af8852d05 initial translation support 2016-05-19 23:18:05 +02:00
Jannes Höke
204b057810 add encoding 2016-05-19 23:15:46 +02:00
Jannes Höke
9936d97373 update test_end_game 2016-05-19 21:29:07 +02:00
Jannes Höke
424219d825 fix end_game 2016-05-19 21:28:04 +02:00
Jannes Höke
c9f7c09a46 update readme 2016-05-19 20:57:32 +02:00
Jannes Höke
6204868a18 separate game logic from bot interface,
introduce exceptions instead of boolean returns,
remove repetitive code,
begin unit tests,
improve docstrings,
update to python-telegram-bot==4.1.1,
add ponyorm settings classes (unused)
2016-05-19 20:56:52 +02:00
Jannes Höke
a6f2c07403 increase workers to 32 2016-05-08 19:40:58 +02:00
Jannes Höke
132cf9d993 udpate readme 2016-05-08 18:57:40 +02:00
Jannes Höke
f82b9ce6c0 hint on close command on game start 2016-05-08 18:52:10 +02:00
Jannes Höke
9b62f9b116 limit timer resetting even further 2016-05-08 18:38:31 +02:00
Jannes Höke
ae311ea0cf next.user 2016-05-08 17:52:06 +02:00
Jannes Höke
b75667bb86 reset at correct position and display right name 2016-05-08 17:46:41 +02:00
Jannes Höke
512d752997 make game endings more smooth 2016-05-08 17:46:14 +02:00
Jannes Höke
d85934b789 actually check for waiting time, not always 90sex 2016-05-08 17:17:51 +02:00
Jannes Höke
4c1a5537eb fix waiting time display and reset 2016-05-08 17:13:01 +02:00
Jannes Höke
1d10388d8e reduce waiting time for repeated skipping and remove after four successive skips 2016-05-08 17:03:29 +02:00
Jannes Höke
2b8c01002f some code optimization 2016-05-08 15:50:33 +02:00
Jannes Höke
842fca0021 add license information (#4) 2016-05-08 14:39:13 +02:00
Jannes Höke
880d43f471 add license information (#4) 2016-05-08 14:38:38 +02:00
Jannes Höke
686cf3facb move to AGPL (#4) 2016-05-08 14:37:25 +02:00
Jannes Höke
9b4f4a43ea on skip, add card to players hand 2016-05-02 12:10:35 +02:00
Jannes Höke
9dc387dadd on leave, return cards to deck 2016-05-02 12:10:16 +02:00
Jannes Höke
1b1edf508d change time limit to 90 seconds 2016-05-01 18:41:40 +02:00
Jannes Höke
0cf7b70454 use actual game creator, make skip available to every player 2016-05-01 18:23:59 +02:00
Jannes Höke
76b869fce7 timelimit on skip command 2016-04-30 13:27:41 +02:00
Jannes Höke
27fff4b2e1 game endings cleaner, time limit on skip command 2016-04-30 13:26:50 +02:00
Jannes Höke
c57b278c1e remove black from colors 2016-04-30 12:20:44 +02:00
Jannes Höke
dde30a14d7 answer async with timeout 2016-04-30 12:20:36 +02:00
Jannes Höke
281511e0fd display next player on leave 2016-04-30 11:43:26 +02:00
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