Commit Graph

102 Commits

Author SHA1 Message Date
c0de 3435e4ce7a Fix to the point of being runnable 2022-11-09 11:48:31 -06:00
c0de eb5ed5fe9e update readme 2022-10-30 22:56:41 -05:00
c0de e39a19da55 [refactor] Processing guesses moved to own class 2022-10-30 22:24:51 -05:00
c0de f6860bb43f maybe, maybe not 2022-10-27 00:18:12 -05:00
c0de 3c5fead8b0 Allow the bot to see channel messages 2022-10-27 00:04:54 -05:00
c0de b6377aef97 no change database path 2022-10-26 23:53:46 -05:00
c0de 9a39399936 Don't need to pass game manager instance 2022-10-26 23:37:23 -05:00
c0de 65bc29cfa1 Refactor and get the game to run (in DMs) 2022-10-26 23:36:41 -05:00
c0de b0c6b8e5bb Create database before starting the client 2022-10-26 23:35:52 -05:00
c0de e9d80e5e62 Add PlayerModel to create_models 2022-10-25 23:18:52 -05:00
c0de 1a62747da1 Difference code in place 2022-10-25 23:17:57 -05:00
c0de efe58e0278 Add Player Model for total points 2022-10-25 23:17:06 -05:00
c0de 84e4975d27 The game is GameManager now 2022-10-25 23:16:33 -05:00
c0de 3dfbb247da Change guess update logic 2022-10-25 19:23:54 -05:00
c0de f4bd33b4d5 Fix linting on Game
Also default guess value to 0
2022-10-24 20:53:51 -05:00
c0de 545e0442eb Fix linting on database models (except todo) 2022-10-24 20:31:47 -05:00
c0de e0dc0e6b78 Fix linting issues with client 2022-10-24 20:22:04 -05:00
c0de b154efb6cc Fix linting issues with main 2022-10-24 20:06:50 -05:00
c0de 57a808f19d Create lint log 2022-10-24 20:05:21 -05:00
c0de b32d76bf16 The decorator should be outside of the class 2022-10-24 20:02:26 -05:00
c0de 07ecd2248c Format with Black 2022-10-24 20:00:39 -05:00
c0de 7d684d8b9d Install pylint and black
for formatting and ensuring the code conforms to PEP standards
2022-10-24 19:59:18 -05:00
c0de 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
c0de 7101db5394 We'll be fine with one database connection, and don't have to repeat ourselves 2022-10-24 19:13:34 -05:00
c0de 49d3672936 Add extra time tracking 2022-10-24 19:12:48 -05:00
c0de 8ab3cd611f These need to be named properly 2022-10-24 18:49:26 -05:00
c0de e771ea8764 Ignore databases 2022-10-24 18:47:12 -05:00
c0de 321fa9ae7c It's an Integer 2022-10-24 18:43:38 -05:00
c0de 59b8c673e0 Use correct model class 2022-10-03 20:08:42 -05:00
c0de 311dcac071 Fix import paths 2022-10-03 20:08:27 -05:00
c0de b95e5d6bad Install dateparser 2022-10-03 20:07:01 -05:00
c0de c08eb54081 Update readme 2022-10-03 19:58:48 -05:00
c0de 2cc664dd06 Fix class identification for ide 2022-10-03 19:47:55 -05:00
c0de 5ece30bb03 Need to pass a game instance to bare function calls 2022-10-03 19:42:42 -05:00
c0de 348ae34dd3 Add !points command
Trying to parse this "PointsService"... wtf is even going on there
2022-10-03 19:41:02 -05:00
c0de 305dda222f Add !guess command 2022-10-03 19:33:15 -05:00
c0de 65192ab2c2 Begin adding game logic 2022-09-23 21:41:03 -05:00
c0de 67a018f897 Add the bot entrypoint 2022-09-23 21:40:51 -05:00
c0de 04e1556d2d Add discord client implementation 2022-09-23 21:40:35 -05:00
c0de ddbb884a43 Add database models 2022-09-23 21:40:18 -05:00
c0de b43ee8a39c Set environment variables and start the game 2022-09-23 21:39:58 -05:00
c0de 38b549e10c New app - Install dependencies 2022-09-23 21:39:37 -05:00
c0de 2566104b0d Add readme for the idea 2022-09-23 17:48:40 -05:00
c0de 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