Commit Graph

44 Commits

Author SHA1 Message Date
b0c6b8e5bb Create database before starting the client 2022-10-26 23:35:52 -05:00
e9d80e5e62 Add PlayerModel to create_models 2022-10-25 23:18:52 -05:00
1a62747da1 Difference code in place 2022-10-25 23:17:57 -05:00
efe58e0278 Add Player Model for total points 2022-10-25 23:17:06 -05:00
84e4975d27 The game is GameManager now 2022-10-25 23:16:33 -05:00
3dfbb247da Change guess update logic 2022-10-25 19:23:54 -05:00
f4bd33b4d5 Fix linting on Game
Also default guess value to 0
2022-10-24 20:53:51 -05:00
545e0442eb Fix linting on database models (except todo) 2022-10-24 20:31:47 -05:00
e0dc0e6b78 Fix linting issues with client 2022-10-24 20:22:04 -05:00
b154efb6cc Fix linting issues with main 2022-10-24 20:06:50 -05:00
57a808f19d Create lint log 2022-10-24 20:05:21 -05:00
b32d76bf16 The decorator should be outside of the class 2022-10-24 20:02:26 -05:00
07ecd2248c Format with Black 2022-10-24 20:00:39 -05:00
7d684d8b9d Install pylint and black
for formatting and ensuring the code conforms to PEP standards
2022-10-24 19:59:18 -05:00
1845e42488 Use the with statement on the game class
This is because the class is a context manager / state machine
2022-10-24 19:55:50 -05:00
7101db5394 We'll be fine with one database connection, and don't have to repeat ourselves 2022-10-24 19:13:34 -05:00
49d3672936 Add extra time tracking 2022-10-24 19:12:48 -05:00
8ab3cd611f These need to be named properly 2022-10-24 18:49:26 -05:00
e771ea8764 Ignore databases 2022-10-24 18:47:12 -05:00
321fa9ae7c It's an Integer 2022-10-24 18:43:38 -05:00
59b8c673e0 Use correct model class 2022-10-03 20:08:42 -05:00
311dcac071 Fix import paths 2022-10-03 20:08:27 -05:00
b95e5d6bad Install dateparser 2022-10-03 20:07:01 -05:00
c08eb54081 Update readme 2022-10-03 19:58:48 -05:00
2cc664dd06 Fix class identification for ide 2022-10-03 19:47:55 -05:00
5ece30bb03 Need to pass a game instance to bare function calls 2022-10-03 19:42:42 -05:00
348ae34dd3 Add !points command
Trying to parse this "PointsService"... wtf is even going on there
2022-10-03 19:41:02 -05:00
305dda222f Add !guess command 2022-10-03 19:33:15 -05:00
65192ab2c2 Begin adding game logic 2022-09-23 21:41:03 -05:00
67a018f897 Add the bot entrypoint 2022-09-23 21:40:51 -05:00
04e1556d2d Add discord client implementation 2022-09-23 21:40:35 -05:00
ddbb884a43 Add database models 2022-09-23 21:40:18 -05:00
b43ee8a39c Set environment variables and start the game 2022-09-23 21:39:58 -05:00
38b549e10c New app - Install dependencies 2022-09-23 21:39:37 -05:00
2566104b0d Add readme for the idea 2022-09-23 17:48:40 -05:00
20ca7befdf Initial Code 2022-09-23 17:40:31 -05:00
LaDfBC
f96618d2d1 Fixed point fetching and special resolution by player 2021-01-02 17:41:14 -06:00
LaDfBC
16a74828a2 Fixed no-participants. No longer allowed to guess lower than 0 or above 1000. Improved resolution output 2021-01-01 21:45:28 -06:00
LaDfBC
f592bb8234 Adding points check and fixing some minor other issues 2020-12-20 10:11:09 -06:00
LaDfBC
caa0819d91 Bot now explains who won each play 2020-11-29 11:51:10 -06:00
LaDfBC
143fd45149 Update to discordpy 1.0 2020-11-27 22:42:13 -06:00
LaDfBC
dc51fda2f1 Fix the accidental space 2019-09-08 19:54:18 -05:00
LaDfBC
09389a3430 Added gitignore to remove files 2019-09-08 19:17:33 -05:00
LaDfBC
e22f67ab17 Working base version 2019-09-08 18:51:44 -05:00