Commit Graph

54 Commits

Author SHA1 Message Date
Cal Corum
7f6472bbc6 Batter subs plus cleanup 2024-12-23 10:09:11 -06:00
Cal Corum
55b35a242a Add gauntlet team support to get_team_or_none 2024-12-18 09:58:59 -06:00
Cal Corum
95ee071ef8 Add DTwentyRoll
Add /log lineout
Add ManagerAi.tag_from_third()
2024-12-06 20:41:38 -06:00
Cal Corum
8118b4a691 Added PO/FO to fielding roll
Complete /log xcheck and /log groundball
2024-12-06 00:46:49 -06:00
Cal Corum
d6d3d7beb0 Log stealing done
Log xchecks started
2024-11-25 13:17:51 -06:00
Cal Corum
073bd04b4b Added RosterLinks to remove card_id from setup process
Add SelectStartingPitcher dropdown
New .sync function
2024-11-23 19:53:48 -06:00
Cal Corum
a4af7652fc ask_confirm bug fix
manual_end_game complete
2024-11-21 10:38:39 -06:00
Cal Corum
7a718d45f0 AbRoll and JumpRoll objects
Add handedness to pitcher/batter
2024-11-20 21:31:31 -06:00
Cal Corum
f7685ff0e3 Added AbRoll and JumpRoll
Added auto_roll and roll_buttons to Game
Added log chaos
2024-11-17 14:57:54 -06:00
Cal Corum
baffabfe4c Bunts are done 2024-11-16 01:34:02 -06:00
Cal Corum
3d333dabc3 Update api logging
New Position exception
Pull scouting data with lineups
More bunt types
String validation on gameplay models
AI Defensive alignment
2024-11-16 00:31:54 -06:00
Cal Corum
bfd72ae0f5 Update logging to RotatingFileHandler
Add auto game end
Calculate stats and decisions
Support raising instantiated exceptions
2024-11-09 23:14:54 -06:00
Cal Corum
c3418c4dfd New show-card dropdown view
Added PlayInitException
Added complete_and_post_play for log commands
Added many more log plays
Add undo-play
Added query logging
2024-11-09 00:48:13 -06:00
Cal Corum
fc3b407f2d ask_confirm helper added to buttons
Singles are complete
Doubles are complete
Uncapped advance is complete
2024-11-08 10:10:30 -06:00
Cal Corum
0327b6af62 Added ThrowResponse as managerai response
Added /log single, all but uncapped complete
Added check_uncapped_advance, ai on defense complete
2024-11-07 11:38:45 -06:00
Cal Corum
e399fec853 Calculating wpa for plays 2024-11-06 02:17:28 -06:00
Cal Corum
d0f635034b Continuing progress on complete_play plus tests 2024-11-05 18:09:18 -06:00
Cal Corum
650ffdb147 Begun complete_play function 2024-11-05 12:07:52 -06:00
Cal Corum
736897efad Added tag_from_second decision for AI
Flyball A and B complete
2024-11-04 00:12:35 -06:00
Cal Corum
0335b32673 Update exception function 2024-11-03 21:54:55 -06:00
Cal Corum
8da859b63a Merge branch 'master' into sqlmodel-alembic-pytests-rebuild 2024-11-03 18:20:01 -06:00
Cal Corum
7dfd077b94 Season 8 Updates 2024-11-02 19:47:54 -05:00
Cal Corum
ee685f1415 Updated scorebug embed
Added play initialization
2024-10-24 17:14:11 -05:00
Cal Corum
79efceb6dd refactor exceptions and continue gameplay cog rebuild 2024-10-24 15:32:07 -05:00
Cal Corum
10c68c02b1 Create ManagerAi model 2024-10-16 14:09:11 -05:00
Cal Corum
1b87bfdb92 Mage Game.game_type required 2024-10-15 01:26:23 -05:00
Cal Corum
19e781137e Complete /new-game campaign
Add scorebug function to Game
Add card links prop to players
Add scorebug prop to play
2024-10-15 01:23:04 -05:00
Cal Corum
5fc89b5ce4 Added play table 2024-10-14 23:24:13 -05:00
Cal Corum
46860fb3c0 /read-lineup logic is complete 2024-10-14 20:46:55 -05:00
Cal Corum
428afe048e Finish loading utilities
Push queries from _models to _queries
2024-10-14 12:22:05 -05:00
Cal Corum
c253ae90a3 Migrate Confirm class to utilities 2024-10-14 01:17:09 -05:00
Cal Corum
a7189be67e Completed new-game mlb-campaign 2024-10-14 00:44:49 -05:00
Cal Corum
2db26e00f1 Mature Cards and Players 2024-10-14 00:44:20 -05:00
Cal Corum
b35b25615d Update get_<x> functions to return x or None 2024-10-13 20:39:58 -05:00
Cal Corum
b2fd6fc9c4 Add cascading delete from Game and Cardset to GameCardsetLink 2024-10-13 20:06:12 -05:00
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
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
5fe91c0729 Team cache validating properly and tests green 2024-10-12 11:36:09 -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
74cbef8d41 Add pytests, first Game test 2024-10-11 17:29:54 -05:00
Cal Corum
fbe54e50d7 Added base alembic config 2024-10-11 16:42:15 -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