Commit Graph

274 Commits

Author SHA1 Message Date
Cal Corum
c66075f9a8 Update Game's first_message to jump_url
Refactor test directory
2024-10-12 23:05:17 -05:00
Cal Corum
5ab2080f6d Add Player tests
Continuing /new-game
2024-10-12 22:08:36 -05:00
Cal Corum
512efe98c4 db_calls -> api_calls
gameplay_db -> gameplay_models
new-game campaign in progress
added Player model
2024-10-12 18:22:13 -05:00
Cal Corum
c5b24d8c8e Enhance Game testing 2024-10-12 18:21:15 -05:00
Cal Corum
5fe91c0729 Team cache validating properly and tests green 2024-10-12 11:36:09 -05:00
Cal Corum
57610fe8a7
Add experimental getgamebychannel function 2024-10-12 09:26:55 -05:00
Cal Corum
0deb547257 Added Team table with caching and tests 2024-10-12 02:08:05 -05:00
Cal Corum
aa66008577 Added docker to environment 2024-10-12 02:04:30 -05:00
Cal Corum
5d76a49583 Update to Python 3.12
Update new_game_campaign role check
2024-10-11 22:52:09 -05:00
Cal Corum
235cd75572 Update .gitignore 2024-10-11 21:54:25 -05:00
Cal Corum
9dda254421 Just begun new-game command 2024-10-11 21:44:22 -05:00
Cal Corum
033b028b85 Begin gameplay cog rewrite 2024-10-11 20:15:08 -05:00
Cal Corum
2f00bff5f9 Move test game creation to factory 2024-10-11 20:14:49 -05:00
Cal Corum
27baebb7bf Problem cleanup 2024-10-11 20:14:10 -05:00
Cal Corum
74cbef8d41 Add pytests, first Game test 2024-10-11 17:29:54 -05:00
Cal Corum
e3cbc92c51 Alembic config 2024-10-11 16:47:31 -05:00
Cal Corum
fbe54e50d7 Added base alembic config 2024-10-11 16:42:15 -05:00
Cal Corum
ccaf61e73a Update 2024 Live to 2024 Season 2024-10-11 08:45:32 -05:00
Cal Corum
fee00ce036 Fix one-loss gauntlet end bug 2024-10-11 08:44:51 -05:00
Cal Corum
78bcdc07bf Add support for MVP packs with set team 2024-08-31 23:37:54 -05:00
Cal Corum
d50595d49a Added /gauntlets reset 2024-07-26 16:54:23 -05:00
Cal Corum
15d63a63b2 Two error fixes 2024-07-26 16:54:14 -05:00
cal
0ec76c42ce Shrunk fielding check links 2024-07-17 16:06:01 -05:00
Cal Corum
305914c758 Add support for exhibition games 2024-07-14 13:22:50 -05:00
Cal Corum
89daa5fa15 Add Dropdown class 2024-07-11 15:08:14 -05:00
Cal Corum
2046ebcdde Add support for Exhibition games 2024-07-11 15:08:06 -05:00
Cal Corum
701e89eaf2 Early pass at matchup sim and added is_fatigued to Lineup 2024-07-07 23:13:22 -05:00
Cal Corum
76e990390b Live Series Gauntlet update 2024-07-03 09:55:30 -05:00
Cal Corum
cf92090fab Update ai_manager.py 2024-06-27 00:33:03 -05:00
Cal Corum
2a00e9d6da Update data_cache.py 2024-06-27 00:33:01 -05:00
Cal Corum
6baa989aae Create simulations.py 2024-06-27 00:32:24 -05:00
Cal Corum
93075519a3 Update gauntlets.py 2024-06-27 00:32:04 -05:00
Cal Corum
183af68164 Update owner.py 2024-06-27 00:31:36 -05:00
Cal Corum
53f789844f Update admins.py 2024-06-27 00:31:25 -05:00
Cal Corum
899f214259 Update db_calls_gameplay.py 2024-05-24 22:03:58 -05:00
Cal Corum
cf173d42dc Update gauntlets.py 2024-05-24 22:02:12 -05:00
Cal Corum
f7934d464f Refactoring gameplay AI / Automate subs 2024-05-19 02:12:35 -05:00
Cal Corum
cb6319cf29 Bring back market watch 2024-05-18 17:07:17 -05:00
Cal Corum
31d78f0315 Update gameplay.py
Added additional gamestate after flyball Bs
2024-05-17 16:07:31 -05:00
Cal Corum
42c3719baf Update gameplay.py
Runners on the corners, a steal of home does not move the runner from first to second on a CS.
RP on PO result for Catcher Check results in redoing the PA, instead of an SI1
RP on FO result also results in redoing the play, instead of catcher interference result. No way to manually fix this with a runner on third without giving the hitter a walk or HBP
2024-05-17 15:38:25 -05:00
Cal Corum
2e3990a931 Update gameplay.py
SI1 RP rules the runner as out rather than advancing to 2nd
2024-05-17 15:23:11 -05:00
Cal Corum
913689034c Fixed interaction bug 2024-05-17 15:22:54 -05:00
Cal Corum
a1c44a0540 Refactor /buy pack 2024-05-13 17:02:32 -05:00
Cal Corum
3127bf2df8 Add support for 2024 Live gauntlet 2024-05-13 15:36:10 -05:00
Cal Corum
731862e006 Add support for Promo Choice pack 2024-05-13 15:35:57 -05:00
Cal Corum
fdfcd05899 S9 bug fixes 2024-04-27 07:43:59 -05:00
Cal Corum
0035090ad9 Fix weekly automation 2024-04-27 07:43:44 -05:00
Cal Corum
ca3b1f56d5 Debug logging 2024-04-27 07:43:28 -05:00
Cal Corum
a40c1c9e93 2024 Updates 2024-04-21 17:49:10 -05:00
Cal Corum
89c0c508db Fixed xcheck F1/F2 bug 2024-03-09 20:40:09 -06:00