Commit graph

25 commits

Author SHA1 Message Date
Karho
75e3076285 Update player.py
Reverting back to the original rule.
2017-02-17 22:05:24 +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
73365f49fc draw method reset draw counter on empty deck 2016-05-21 18:55:53 +02:00
Jannes Höke
aee310ec9c handle empty decks on player join 2016-05-20 18:34:27 +02:00
Jannes Höke
204b057810 add encoding 2016-05-19 23:15:46 +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
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
686cf3facb move to AGPL (#4) 2016-05-08 14:37:25 +02:00
Jannes Höke
9dc387dadd on leave, return cards to deck 2016-05-02 12:10:16 +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
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
746a9ff745 implement simple anti-cheat system 2016-04-19 01:26:38 +02:00
Jannes Höke
bc9c057d57 fix bluffing again 2016-04-19 00:40:57 +02:00
Jannes Höke
5df4e1fd30 rule fixes and interface optimizations 2016-03-31 16:07:35 +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
cebffecc35 +4 on +4, skip turn 2016-03-08 12:54:16 +01:00
Jannes Höke
1f7466cba5 Add comments everywhere 2016-03-08 02:50:45 +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
b0bdbe0d0f some refactoring and rule improvements 2016-03-01 01:25:26 +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