Commit Graph

133 Commits

Author SHA1 Message Date
Cal Corum
59fa207212 Add Card table
Updating factory to do all work in session fixture
2024-10-13 01:53:20 -05:00
Cal Corum
97519fc8d5 Move db creation to entry
Nearing completion of new-game mlb-campaign
2024-10-13 00:25:29 -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
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
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
ccaf61e73a Update 2024 Live to 2024 Season 2024-10-11 08:45:32 -05:00
Cal Corum
305914c758 Add support for exhibition games 2024-07-14 13:22:50 -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
f7934d464f Refactoring gameplay AI / Automate subs 2024-05-19 02:12:35 -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
3127bf2df8 Add support for 2024 Live gauntlet 2024-05-13 15:36:10 -05:00
Cal Corum
ca3b1f56d5 Debug logging 2024-04-27 07:43:28 -05:00
Cal Corum
89c0c508db Fixed xcheck F1/F2 bug 2024-03-09 20:40:09 -06:00
Cal Corum
f65ec66724 Added Backyard Baseball Gauntlet 2024-03-08 00:47:58 -06:00
Cal Corum
bddc7144d9 Update legal check error 2024-03-01 20:02:09 -06:00
Cal Corum
d8d2831978 Update rare play string 2024-02-24 21:30:50 -06:00
Cal Corum
67da23cc17 Add rare play support 2024-02-24 20:47:06 -06:00
Cal Corum
4a5a305077 December updates 2023-12-04 13:39:51 -06:00
Cal Corum
462525ab5c Bug fixes for 3-inning and Ranked games 2023-11-29 10:33:37 -06:00
Cal Corum
5e89c898e6 Update gameplay.py
Add Flashback descriptor to scorebugs
2023-11-27 09:28:05 -06:00
Cal Corum
502759d6cd Activate Flashback campaign 2023-11-20 00:59:49 -06:00
Cal Corum
e2e114d06a Add Task Loop Check 2023-11-17 22:17:40 -06:00
Cal Corum
16225aea13 Major League Campaign update
Prepping for Flashback campaign
2023-11-05 20:02:43 -06:00
Cal Corum
eb22960f2c Add show_outfield_cards 2023-11-01 23:26:58 -05:00
Cal Corum
b941f1641e Refactor /substitution to /substitute pitcher and batter 2023-10-31 00:17:46 -05:00
Cal Corum
fc35a3a1b8 Update gameplay.py
Update read-lineup text helpers
2023-10-30 21:14:47 -05:00
Cal Corum
1ca1e538af MVP Pack fix & pcard update 2023-10-28 00:26:29 -05:00
Cal Corum
296b9ec486 Update gameplay.py
Update name reference for new get_player function
2023-10-27 00:53:53 -05:00
Cal Corum
e77172d1c3 Added player cache 2023-10-26 23:27:29 -05:00
Cal Corum
1c3e7ef148 Bug fixes & /record
- Added walk-off scenario for end-game
2023-10-26 00:36:36 -05:00
Cal Corum
d735466fe3 Frame check strikeout bug 2023-10-24 18:34:30 -05:00
Cal Corum
e0ef5616bd Day 1 Updates 2023-10-24 09:48:46 -05:00
Cal Corum
96f783bb63 2018 gauntlet in place 2023-10-23 00:58:10 -05:00
Cal Corum
e8df6fc4c3 RE24 calc added & post-game embed complete 2023-10-22 22:40:50 -05:00
Cal Corum
b39fb13a6a Post stats via game/play/decision 2023-10-22 13:59:22 -05:00
Cal Corum
72d6129b17 Player description update & bugfixes
Fixed trail runners not advancing for uncapped doubles and steals of home
2023-10-21 15:30:14 -05:00
Cal Corum
baf8ddb664 Update gameplay.py 2023-10-20 17:03:11 -05:00
Cal Corum
347dc33b45 Add early game-end logic 2023-10-20 16:02:14 -05:00
Cal Corum
714c47b877 Added /frame-pitch command 2023-10-17 21:19:38 -05:00
Cal Corum
ae699ead4d Update gameplay.py
Add catcher to gamestate embed when there are baserunners
2023-09-11 18:01:11 -05:00
Cal Corum
4031767f82 Command -> app_command completion 2023-09-11 15:00:02 -05:00
Cal Corum
48b10bfaec Speedup Updates
Update initial player pull
Move substitution command to app_command
2023-09-09 15:59:04 -05:00
Cal Corum
87a44d03f0 2008, 2016, Flashback Gauntlet Live! 2023-05-29 19:48:48 -05:00
Cal Corum
33e5e97726 Get RP Fixes 2023-05-04 10:51:31 -05:00
Cal Corum
d3ba2f0e96 Update gameplay.py
Remove old catcher question; skip out type when no hit + no error
2023-05-03 14:58:47 -05:00
Cal Corum
4b59919d57 Gameplay bug fixes 2023-05-03 14:14:14 -05:00
Cal Corum
f5bf7df166 DB calls to async 2023-05-03 13:28:14 -05:00
Cal Corum
0e56e1992e Add support for xcheck reswing 2023-05-02 16:09:57 -05:00
Cal Corum
8788a02124 Gauntlet Reward Fix 2023-05-02 10:45:03 -05:00
Cal Corum
bb76a34256 Update gameplay.py
Bug fix on tc pack
2023-04-30 22:40:43 -05:00
Cal Corum
869c5ff6bf Add legality check to Major League games 2023-04-30 16:01:57 -05:00
Cal Corum
fe06773c20 Update gameplay.py
Add Team Choice packs with pre-selected teams to /open-packs
2023-04-30 14:26:15 -05:00
Cal Corum
7f9a92e654 Added undo_subs to the /log undo-play 2023-04-28 13:49:38 -05:00
Cal Corum
bb1113032d Update gameplay.py
Fixed SB 3rd failing
2023-04-22 15:43:14 -05:00
Cal Corum
bd59b018f5 Gameplay bug fixes
Typos in help message; fix groundball b error
2023-04-22 15:24:12 -05:00
Cal Corum
b03ff3b84b Added in_packs param to choice packs 2023-04-14 11:17:33 -05:00
Cal Corum
33d2c88d09 April AI updates, Paper Sluggers draft order update, 2023-04-13 12:14:56 -05:00
Cal Corum
a506f223d8 Day 1 Gauntlet patch 2023-03-30 10:56:18 -05:00
Cal Corum
e406ecd1bc Update gauntlet messages 2023-03-28 10:57:11 -05:00
Cal Corum
3cafa06c06
Merge branch 'master' into gauntlets 2023-03-27 22:46:59 -05:00
Cal Corum
aeb17cb7d1 Prep for gauntlet 1.0 2023-03-27 22:30:02 -05:00
Cal Corum
871eaa2c06 Move gauntlet commands to /gauntlets; add support for opening Mario packs 2023-03-25 00:04:27 -05:00
Cal Corum
c7d4824ee0 Gauntlet creation automated; run display functional 2023-03-23 11:30:26 -05:00
Cal Corum
0915fbfd32 Win/Loss tracking complete 2023-03-20 01:43:29 -05:00
Cal Corum
ae18790279 Starting games functional 2023-03-19 17:53:59 -05:00
Cal Corum
f9e222d2f1 Functional draft 2023-03-19 13:59:26 -05:00
Cal Corum
07c0a63d8f Gauntlet pass 1
Three functional rounds of gauntlet draft
2023-03-17 16:27:56 -05:00
Cal Corum
0d04c59e97 Bullpen fix 2023-03-16 11:14:53 -05:00
Cal Corum
568d030c3c Update gameplay.py
Add /new-game gauntlet command
2023-03-14 00:48:46 -05:00
Cal Corum
419a0275d9 Add league check to ai.get_sp 2023-02-27 11:00:33 -06:00
Cal Corum
008a2e5bab Update gameplay.py
Fix post-game scorebug typo; add game_type to reliever check
2023-02-26 20:00:33 -06:00
Cal Corum
01e531cef7 Add Major League role check 2023-02-26 16:15:36 -06:00
Cal Corum
2c737bc2ce Remove block from Major League campaign 2023-02-26 15:57:35 -06:00
Cal Corum
43b86a32b2 Update gameplay.py
set live scoreboard loop to 5 minutes from 1
2023-02-26 15:37:12 -06:00
Cal Corum
be41443d3e Update gameplay.py 2023-02-25 18:37:11 -06:00
Cal Corum
0c638ae6a5
Initial commit 2023-02-19 21:34:38 -06:00