Commit Graph

  • 9234e3858f add italian translations (big thanks to Carola and nick!) fix-code Jannes Höke 2016-05-22 23:32:43 +02:00
  • c477701b75 Merge pull request #8 from jh0ker/fix-code Jannes Höke 2016-05-22 19:24:59 +02:00
  • ba47f4c19e final version? Jannes Höke 2016-05-22 19:21:51 +02:00
  • 4cdffffa5f Optional multi-translations Jannes Höke 2016-05-22 17:02:27 +02:00
  • 005445c4dd add database file to gitignore Jannes Höke 2016-05-22 14:47:26 +02:00
  • 6c610c1aeb settings UI added, save locale to database Jannes Höke 2016-05-22 14:45:51 +02:00
  • cddf13dc5d add __ function to translate complete stack, add dummy decorators to pull locales from db Jannes Höke 2016-05-22 03:13:05 +02:00
  • 5ece46527a locales are working, added de_DE locale Jannes Höke 2016-05-21 21:41:38 +02:00
  • becc7e28dc fix broken method call Jannes Höke 2016-05-21 18:56:58 +02:00
  • a02813477a more stable first-card drawing Jannes Höke 2016-05-21 18:56:27 +02:00
  • 73365f49fc draw method reset draw counter on empty deck Jannes Höke 2016-05-21 18:55:53 +02:00
  • d5b76c5c12 fix result list generation Jannes Höke 2016-05-21 18:55:03 +02:00
  • a39fa85b3b more translation supprt Jannes Höke 2016-05-20 18:35:21 +02:00
  • aee310ec9c handle empty decks on player join Jannes Höke 2016-05-20 18:34:27 +02:00
  • 0dcd1f6cdc use regular formatting Jannes Höke 2016-05-20 17:55:08 +02:00
  • 2316ab8a1c pot formatting Jannes Höke 2016-05-20 17:53:01 +02:00
  • 8af8852d05 initial translation support Jannes Höke 2016-05-19 23:18:05 +02:00
  • 204b057810 add encoding Jannes Höke 2016-05-19 23:15:46 +02:00
  • 9936d97373 update test_end_game Jannes Höke 2016-05-19 21:29:07 +02:00
  • 424219d825 fix end_game Jannes Höke 2016-05-19 21:28:04 +02:00
  • c9f7c09a46 update readme Jannes Höke 2016-05-19 20:57:32 +02:00
  • 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) Jannes Höke 2016-05-19 20:52:50 +02:00
  • 8343737cb4 initial commit for AI opponent using ISMCTS ismcts Jannes Höke 2016-05-16 16:55:40 +02:00
  • a6f2c07403 increase workers to 32 Jannes Höke 2016-05-08 19:40:58 +02:00
  • 132cf9d993 udpate readme Jannes Höke 2016-05-08 18:57:40 +02:00
  • f82b9ce6c0 hint on close command on game start Jannes Höke 2016-05-08 18:52:10 +02:00
  • 9b62f9b116 limit timer resetting even further Jannes Höke 2016-05-08 18:38:31 +02:00
  • ae311ea0cf next.user Jannes Höke 2016-05-08 17:52:06 +02:00
  • b75667bb86 reset at correct position and display right name Jannes Höke 2016-05-08 17:46:41 +02:00
  • 512d752997 make game endings more smooth Jannes Höke 2016-05-08 17:46:14 +02:00
  • d85934b789 actually check for waiting time, not always 90sex Jannes Höke 2016-05-08 17:17:51 +02:00
  • 4c1a5537eb fix waiting time display and reset Jannes Höke 2016-05-08 17:13:01 +02:00
  • 1d10388d8e reduce waiting time for repeated skipping and remove after four successive skips Jannes Höke 2016-05-08 17:03:29 +02:00
  • 2b8c01002f some code optimization Jannes Höke 2016-05-08 15:49:41 +02:00
  • 842fca0021 add license information (#4) Jannes Höke 2016-05-08 14:39:13 +02:00
  • 880d43f471 add license information (#4) Jannes Höke 2016-05-08 14:38:38 +02:00
  • 686cf3facb move to AGPL (#4) Jannes Höke 2016-05-08 14:37:25 +02:00
  • 9b4f4a43ea on skip, add card to players hand Jannes Höke 2016-05-02 12:10:35 +02:00
  • 9dc387dadd on leave, return cards to deck Jannes Höke 2016-05-02 12:10:16 +02:00
  • 1b1edf508d change time limit to 90 seconds Jannes Höke 2016-05-01 18:41:40 +02:00
  • 0cf7b70454 use actual game creator, make skip available to every player Jannes Höke 2016-05-01 18:23:59 +02:00
  • 76b869fce7 timelimit on skip command Jannes Höke 2016-04-30 13:27:41 +02:00
  • 27fff4b2e1 game endings cleaner, time limit on skip command Jannes Höke 2016-04-30 13:26:50 +02:00
  • c57b278c1e remove black from colors Jannes Höke 2016-04-30 12:20:44 +02:00
  • dde30a14d7 answer async with timeout Jannes Höke 2016-04-30 12:20:36 +02:00
  • 281511e0fd display next player on leave Jannes Höke 2016-04-30 11:43:26 +02:00
  • 1844d1d40a move result builders and utility functions to seperate files Jannes Höke 2016-04-29 17:02:50 +02:00
  • ab615f354c special card representation improved Jannes Höke 2016-04-29 16:21:03 +02:00
  • 3b590d9fca adjust for python-telegram-bot 4.0.1 Jannes Höke 2016-04-29 11:12:56 +02:00
  • 6a0f3cd8c5 Merge pull request #3 from imlonghao/patch Jannes Höke 2016-04-29 08:05:01 +02:00
  • 971fe8ef88 Kicked out of games once he win imlonghao 2016-04-29 00:17:14 +08:00
  • 9487fdf7f6 Merge pull request #2 from imlonghao/patch Jannes Höke 2016-04-27 16:12:50 +02:00
  • 0ecf3370e3 Fix issue when joining a closed game, send message via send_async, send message to the sender in same case. imlonghao 2016-04-27 21:47:11 +08:00
  • cb6c2f2557 Merge pull request #1 from imlonghao/startnum Jannes Höke 2016-04-26 20:39:14 +02:00
  • 6777e0f40c Change to start number of cards from 2 to 7 imlonghao 2016-04-27 00:20:15 +08:00
  • 67daa82ece moar commands, leave always, asynchronous sending, game switching [untested] Jannes Höke 2016-04-26 17:53:29 +02:00
  • c1ef321cc3 experimental: multiple games Jannes Höke 2016-04-24 02:11:37 +02:00
  • c22e91eafa allow leaving game if two or less players are in game Jannes Höke 2016-04-23 22:30:21 +02:00
  • ded3c7684b make sendmessage and answerinlinequery asynchronous Jannes Höke 2016-04-23 22:13:15 +02:00
  • 317b4662d1 add newline in help text Jannes Höke 2016-04-20 01:32:02 +02:00
  • f79ce4e0fa update draw and pass sticker Jannes Höke 2016-04-20 00:58:12 +02:00
  • 9a763936cd use stickers instead of text/link results Jannes Höke 2016-04-20 00:55:56 +02:00
  • f04d8d32e5 add new images Jannes Höke 2016-04-20 00:55:31 +02:00
  • a118704e48 update ptb version Jannes Höke 2016-04-19 02:40:27 +02:00
  • 2a637da75f forcefully remove player if he leaves the group Jannes Höke 2016-04-19 02:22:42 +02:00
  • 746a9ff745 implement simple anti-cheat system Jannes Höke 2016-04-19 01:26:38 +02:00
  • 28863876da switch codebase to bot-api-2.0 and minor improvements Jannes Höke 2016-04-19 00:45:27 +02:00
  • b17dcf5cdc catch error when trying to join ended game Jannes Höke 2016-04-19 00:42:23 +02:00
  • daa211b692 do not begin with special card Jannes Höke 2016-04-19 00:41:48 +02:00
  • c5c314a9b1 use color emoji Jannes Höke 2016-04-19 00:41:23 +02:00
  • bc9c057d57 fix bluffing again Jannes Höke 2016-04-19 00:40:57 +02:00
  • 95fe601f6d scale thumbs to 80px height Jannes Höke 2016-04-19 00:39:54 +02:00
  • 5df4e1fd30 rule fixes and interface optimizations Jannes Höke 2016-03-31 16:07:35 +02:00
  • 6aff43eb99 fix tests Jannes Höke 2016-03-11 10:58:45 +01:00
  • a79add4745 fix /start command Jannes Höke 2016-03-11 09:33:01 +01:00
  • 367d16e85f major change in game creation, fixed some bugs Jannes Höke 2016-03-11 09:23:53 +01:00
  • c144fb7c3b Add empty BOTAN_TOKEN to credentials.py Jannes Höke 2016-03-09 11:33:02 +01:00
  • 943365cdd7 added logo Jannes Höke 2016-03-09 11:31:54 +01:00
  • 13946e63bc some refactoring, botan tracking, join command Jannes Höke 2016-03-09 11:31:38 +01:00
  • cebffecc35 +4 on +4, skip turn Jannes Höke 2016-03-08 12:54:16 +01:00
  • 9d543653c7 disable link preview for join link Jannes Höke 2016-03-08 03:08:35 +01:00
  • d631506d04 tidy up reply_to_query Jannes Höke 2016-03-08 02:59:46 +01:00
  • 71ebb72215 Update README.md Jannes Höke 2016-03-08 02:51:21 +01:00
  • 1f7466cba5 Add comments everywhere Jannes Höke 2016-03-08 02:50:24 +01:00
  • 16cfbb611c Update README.md Jannes Höke 2016-03-08 02:11:38 +01:00
  • 7705af79fa add .idea to gitignore Jannes Höke 2016-03-08 02:04:20 +01:00
  • c790d2ae9f add help command Jannes Höke 2016-03-08 02:03:14 +01:00
  • 6fc1fc3ddb remove thinking.jpg Jannes Höke 2016-03-08 02:02:31 +01:00
  • f1be0d54e4 fix start_bot call Jannes Höke 2016-03-08 00:03:16 +01:00
  • 7c100bc5ba Some refactoring, sorting out a few bugs and fix rules Jannes Höke 2016-03-07 23:50:39 +01:00
  • 14c4f0732b show playable cards Jannes Höke 2016-03-01 09:43:01 +01:00
  • 63a2a4ca81 always use current player for showing whose turn it is Jannes Höke 2016-03-01 09:32:21 +01:00
  • f937aea051 @username and dont try to sort a bool Jannes Höke 2016-03-01 09:26:24 +01:00
  • b6f156327d include username in status message to notify player, if available Jannes Höke 2016-03-01 03:15:07 +01:00
  • 2dedb16cb8 dont turn if the drawn card doesnt fit so we don't give away anything about that card Jannes Höke 2016-03-01 03:04:43 +01:00
  • 0efcf8403e fix bluff card amounts Jannes Höke 2016-03-01 02:53:07 +01:00
  • 9496d899ad only show bluff option if not already bluffed Jannes Höke 2016-03-01 02:39:54 +01:00
  • 52fd88a87c reset draw counter after bluffing Jannes Höke 2016-03-01 02:19:42 +01:00
  • 7c502598c7 bluffing and calling a bluff Jannes Höke 2016-03-01 01:56:33 +01:00
  • fb6da7cfa7 hopefully all rules are now implemented Jannes Höke 2016-03-01 01:38:23 +01:00