|
bcbb74a3e1
|
Create composit class of available commands
|
2022-11-10 22:43:40 -06:00 |
|
|
0ed4ca4034
|
Add process_guess (this is the old guess.py)
|
2022-11-10 22:43:19 -06:00 |
|
|
2d8dc471f5
|
Add help manager
|
2022-11-10 22:42:45 -06:00 |
|
|
1b53d230cb
|
Add points manager
|
2022-11-10 22:42:38 -06:00 |
|
|
13eab14f17
|
Add guess manager
|
2022-11-10 22:42:30 -06:00 |
|
|
3e98b025c7
|
Add end game manager
|
2022-11-10 22:42:20 -06:00 |
|
|
f9a5a8023d
|
Add new game manager
|
2022-11-10 22:42:08 -06:00 |
|
|
98de64b7aa
|
Add new game manager
|
2022-11-10 22:41:42 -06:00 |
|
|
353f858bac
|
Delete GameManager
|
2022-11-10 22:40:33 -06:00 |
|
|
e05f023c4e
|
Update docstrings
|
2022-11-10 22:13:07 -06:00 |
|
|
7818109a9c
|
Fix database query
|
2022-11-10 22:10:58 -06:00 |
|
|
49f2630e38
|
Save to database seperately from getting points
|
2022-11-10 22:10:31 -06:00 |
|
|
175b02536c
|
Refactor init to what is passed and defaults
|
2022-11-10 22:09:36 -06:00 |
|
|
5cf6b30eb2
|
Remove check_is_running decorator since it didn't work
|
2022-11-10 21:59:49 -06:00 |
|
|
7cf006cd4f
|
Add help command
|
2022-11-10 21:58:55 -06:00 |
|
|
5131c4a3c1
|
linting
|
2022-11-10 21:46:42 -06:00 |
|
|
fbf588a85e
|
Show table of points
|
2022-11-10 21:46:18 -06:00 |
|
|
bf8819fb46
|
Show total difference
|
2022-11-10 21:45:45 -06:00 |
|
|
946d826dc4
|
Only update the guess for the current game
|
2022-11-10 21:05:21 -06:00 |
|
|
83b6bda124
|
Linting changes
|
2022-11-10 21:03:38 -06:00 |
|
|
e68ef52292
|
Add calculation for the difference score
|
2022-11-10 21:02:20 -06:00 |
|
|
3435e4ce7a
|
Fix to the point of being runnable
|
2022-11-09 11:48:31 -06:00 |
|
|
eb5ed5fe9e
|
update readme
|
2022-10-30 22:56:41 -05:00 |
|
|
e39a19da55
|
[refactor] Processing guesses moved to own class
|
2022-10-30 22:24:51 -05:00 |
|
|
f6860bb43f
|
maybe, maybe not
|
2022-10-27 00:18:12 -05:00 |
|
|
3c5fead8b0
|
Allow the bot to see channel messages
|
2022-10-27 00:04:54 -05:00 |
|
|
b6377aef97
|
no change database path
|
2022-10-26 23:53:46 -05:00 |
|
|
9a39399936
|
Don't need to pass game manager instance
|
2022-10-26 23:37:23 -05:00 |
|
|
65bc29cfa1
|
Refactor and get the game to run (in DMs)
|
2022-10-26 23:36:41 -05:00 |
|
|
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 |
|