Commit graph

27 commits

Author SHA1 Message Date
Karho
d8dfb438a3 Update game_manager.py
Changing the function end_game order to (self, user, chat)
2017-03-03 19:40:40 +08:00
Karho
615bb35359 Combining with "patch" branch (#29)
* Update unobot.po

* Update test_player.py

* Update test_player.py

* Update test_player.py

* Update test_player.py

* Update player.py

* Update player.py

* Update internationalization.py

* Update internationalization.py

* Update test_player.py

* Update test_player.py

* Update test_player.py

* Update player.py

* Update player.py

* Update player.py

* Update test_player.py

* Update test_player.py

* revert play 4 then 4 rule

* Update test_player.py

* Update player.py

* Update player.py

* Update player.py

* Update game.py

* Update game_manager.py

* Update game_manager.py

* Update game_manager.py

* Update player.py

* Update test_player.py

* Update player.py

* Update bot.py

* Update credentials.py

* Update credentials.py

* Update bot.py

* Update game.py

* Update game_manager.py

* Update game_manager.py

* Update player.py
2017-02-16 18:43:44 +08:00
Jannes Höke
b136bdf997 formatting, exception handling, documentation 2016-07-02 20:37:35 +02:00
Jannes Höke
2a52f6e36c for-variable 2016-06-04 12:43:06 +02:00
Jannes Höke
ad2ae0a752 remove player even if its not registered in player list of user (fix) 2016-06-03 08:00:13 +02:00
Jannes Höke
fe98147377 remove player even if its not registered in player list of user 2016-06-03 07:58:05 +02:00
Jannes Höke
91947abce0 remove old, empty games 2016-06-02 15:51:07 +02:00
Jannes Höke
8dcd05dbb2 kind-of bugfix for duplicate players 2016-06-02 15:36:40 +02:00
Jannes Höke
5c87e74ae2 small fixes 2016-06-02 15:03:33 +02:00
Jannes Höke
7fd3c662a5 fix issue where people would join a game twice 2016-05-23 13:14:42 +02:00
Jannes Höke
0c3f623cd9 small fixes & translation updates 2016-05-23 01:54:56 +02:00
Jannes Höke
4cdffffa5f Optional multi-translations 2016-05-22 17:02:27 +02:00
Jannes Höke
204b057810 add encoding 2016-05-19 23:15:46 +02:00
Jannes Höke
424219d825 fix end_game 2016-05-19 21:28:04 +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
512d752997 make game endings more smooth 2016-05-08 17:46:14 +02:00
Jannes Höke
686cf3facb move to AGPL (#4) 2016-05-08 14:37:25 +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
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
b17dcf5cdc catch error when trying to join ended game 2016-04-19 00:42:23 +02:00
Jannes Höke
367d16e85f major change in game creation, fixed some bugs 2016-03-11 09:24:53 +01:00
Jannes Höke
13946e63bc some refactoring, botan tracking, join command 2016-03-09 11:31:38 +01:00
Jannes Höke
1f7466cba5 Add comments everywhere 2016-03-08 02:50:45 +01:00
Jannes Höke
0d381ddf4d rules might be wonky but works 2016-02-29 12:16:12 +01:00
Jannes Höke
5465fca34f kinda works now 2016-02-29 01:53:59 +01:00
Jannes Höke
00e52ad35f initial code commit 2016-02-28 23:57:24 +01:00