Commit graph

19 commits

Author SHA1 Message Date
Jannes Höke
e25879cead 💄 Use new colorblind-accessable card stickers 2023-04-09 15:55:28 +02:00
Jannes Höke
94ea61e941 Revert "new (temp) stickers for r_8 and g_9"
This reverts commit 187cc6f4ea.
2018-01-30 14:37:17 +01:00
Jannes Höke
187cc6f4ea new (temp) stickers for r_8 and g_9 2017-11-27 18:32:34 +01:00
Jarv
ea881cf520 Added gamemodes. New mode: Fast. (#44)
* Changes for possible bug

* New sanic mode wip

* More changes for fast mode, WIP

* Fast mode is playable (code is ugly tho)

* Fixed skip error

* Fixed fast mode error

* Bug fixing

* Possible fix for the /leave bug before the game starts

* Update README to include Codacy badge

* Fixing error prone code

* Removing code smells

* Removing more code smells

* How long can this go on? (More smells according to Codacy)

* Compile locale fixed for Linux. Small es_ES fix.

* Major refactoring

* Wild mode finished. Changed emojis for text in log.

* Removing test prints, back to emojis

* Code cleaning and fix for player time in fast mode

* Changing help to not override builtin function

* Decreased bot.py's complexity

* Default gamemode is now Fast. Added a bot configuration file

* back to random

* Moved logger to shared_vars

* Added MIN_FAST_TURN_TIME to config and fixed 'skipped 4 times' message

* Pull review changes

* More review changes

* Removing codacy badge linked to my account for pull request

* Fixed first special card issue, logger back to how it was (with just one logging init)

* Renamed gameplay config file to gameplay_config.py.
2017-11-27 17:59:19 +01:00
Simon Shi
783e010956 python-telegram-bot v7 compatability + more (#35)
* Remove import of telegram.Emoji

* Using a list of filters in MessageHandler is getting deprecated

* Update requirements

Proudly upgrades to latest python-telegram-bot

* Refine readme

* Test kill command

* Another implement

* Add /kill command

* initial config support

* json config

* Add token into json

* Typo

* Add Admin list

* Refine admin & starter

* Fix an exception

* Fix typo

* refine readme

* Update help
2017-08-18 23:36:30 +02:00
Jannes Höke
d5cac440ec use icons for draw and pass 2016-05-24 09:58:04 +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
686cf3facb move to AGPL (#4) 2016-05-08 14:37:25 +02:00
Jannes Höke
c57b278c1e remove black from colors 2016-04-30 12:20:44 +02:00
Jannes Höke
ab615f354c special card representation improved 2016-04-29 16:21:03 +02:00
Jannes Höke
f79ce4e0fa update draw and pass sticker 2016-04-20 00:58:12 +02:00
Jannes Höke
9a763936cd use stickers instead of text/link results 2016-04-20 00:55:56 +02:00
Jannes Höke
c5c314a9b1 use color emoji 2016-04-19 00:41:23 +02:00
Jannes Höke
1f7466cba5 Add comments everywhere 2016-03-08 02:50:45 +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