View Single Post
Old 12-01-2020, 09:25 PM   #34
SirBlurton
High School Varsity
 
Join Date: Feb 2007
I still have a tonne of work to do on formatting and error checking - but wanted to show off a thing I made! Automated Turf War!

Currently in Python and text only - but plays a game in about 2.5 seconds which is a substantial improvement over the 45 minutes I normally take!
Next steps are to automate season stats, clean up "crunch time" logic (which has given me nightmares) and then probably move towards a GUI for it.

Going to rest up a bit before diving into error checking - I know I have some bits not working all the way....but just for fun - here's a preview of how W5 Game 1 between Calgary and Halifax might have gone!

Will replay when I have more time - will probably try to complete a few games in parallel to gain confidence and squash some bugs....

***********************************
Home Calgary [1, 14, 0, 3] Total: 18
Away Halifax [14, 14, 14] Total: 42

****HOME Calgary RECEPTIONS****
Damien Tofi Receptions: 3 Rec_Zone: 8 Rec_TDs: 0
Paul Williams Receptions: 1 Rec_Zone: 2 Rec_TDs: 1
****AWAY Halifax RECEPTIONS****
Eli Cott Receptions: 5 Rec_Zone: 9 Rec_TDs: 1
Bogdashka Faustov Receptions: 3 Rec_Zone: 10 Rec_TDs: 2
Adam Brown Receptions: 2 Rec_Zone: 2 Rec_TDs: 0

****HOME Calgary RUSHES****
Jaslene Birch Runs: 1 Run zones: 1 run TDs: 0 Fumbles:0
Tony Klassen Runs: 1 Run zones: 0 run TDs: 0 Fumbles:0
Damien Tofi Runs: 1 Run zones: 1 run TDs: 0 Fumbles:0
****AWAY Halifax RUSHES****
Eli Cott Runs: 2 Run zones: 3 run TDs: 0 Fumbles:1
Bogdashka Faustov Runs: 2 Run zones: 5 run TDs: 0 Fumbles:0

****HOME Calgary Passing****
Tony Klassen 5/4 Zones:10 TDs:1 INT:0 Sacks:0
****AWAY Halifax Passing****
Musette Desaulniers 9/9 Zones:20 TDs:3 INT:0 Sacks:0

****HOME Calgary DEFENSIVE****
Phil Bartlatt Stops:0 Sacks: 0 FF:0 INT:0 RZ:0
Troy Wilson Stops:0 Sacks: 0 FF:0 INT:0 RZ:0
Stanton Knickle Stops:0 Sacks: 0 FF:1 INT:0 RZ:0
Otis Palmer Stops:0 Sacks: 0 FF:0 INT:0 RZ:0
Bertrand Farrall Stops:0 Sacks: 0 FF:0 INT:0 RZ:0
Ahilocana Maddukuri Stops:0 Sacks: 0 FF:0 INT:0 RZ:0
Ari Mntymaa Stops:0 Sacks: 0 FF:0 INT:0 RZ:0
****AWAY Halifax DEFENSIVE****
Jamari McDowell Stops:1 Sacks: 0 FF:0 INT:0 RZ:0
Roger Douglass Stops:1 Sacks: 0 FF:0 INT:0 RZ:0
Dragutin Kordic Stops:0 Sacks: 0 FF:0 INT:0 RZ:0
Flynn Moore Stops:0 Sacks: 0 FF:0 INT:0 RZ:0
Quentin Tellier Stops:0 Sacks: 0 FF:0 INT:0 RZ:0
Chaz Linde Stops:0 Sacks: 0 FF:0 INT:0 RZ:0
Tim Dingwell Stops:0 Sacks: 0 FF:0 INT:0 RZ:0
******GAME LOG*******
1 - Calgary - EC3 - Minor defensive penalty on Halifax -- Conduct: DL Quentin Tellier. Calgary has 1 pending points.
2 - Calgary - XP4 - D-Line x_rating:4 vs OL x_rating 2. DL Roger Douglass has made a defensive run stop for 0! Calgary scored 1 on their drive.
Halifax takes over posession.
Current score is:
Calgary: 1
Halifax: 0
3 - Halifax - XP5 - DB2 Stanton Knickle x_rating: 1 vs WR2 Adam Brown x_rating 1. Resolver die roll of 2. WR Adam Brown has gained 1 on a pass.
4 - Halifax - EC12 - Major offensive penalty on Halifax -- Personal foul: WR Adam Brown. Half the distance to the goal.
5 - Halifax - PR4 - LB2 Ari Mntymaa p_rating:1/ 1 vs OL1 Barbara Phelps p rating 1 HB Eli Cott has gained 1 on a pass.
6 - Halifax - XX4 - DB2 Stanton Knickle x_rating: 1 vs WR3 Eli Cott x_rating 0. Eli Cott catches for gain of 1 but then fumbles! Fumble roll of 1. WR Bogdashka Faustov recovers the ball and advances 4.WR Bogdashka Faustov has gained 4 on a run.
7 - Halifax - PR11 - Poor coverage gives QB Musette Desaulniers multiple options downfield! WR Bogdashka Faustov has gained 3 on a pass and scored a touchdown! Halifax scored 14 on their drive.
Calgary takes over posession.
Current score is:
Calgary: 1
Halifax: 14
8 - Calgary - XX11 - QB+WR x_rating 2. Nice jumping catch and short run... WR Damien Tofi has gained 3 on a pass.
9 - Calgary - EC6 - Off setting penalties, repeat the down.
10 - Calgary - PR7 - Tony Klassen completes a pass! WR Damien Tofi has gained 3 on a pass.
11 - Calgary - RR7 - Crisp draw play... HB Jaslene Birch has gained 1 on a run.
12 - Calgary - PX12 - Burned the blitz for a touchdown! WR Paul Williams has gained 2 on a pass and scored a touchdown! Calgary scored 14 on their drive.
Halifax takes over posession.
Current score is:
Calgary: 15
Halifax: 14
13 - Halifax - XX7 - Tipped ball...Resolver die roll of 6. HB Eli Cott has gained 1 on a pass.
14 - Halifax - RR5 - Resolver die roll of 1. Skill check for Eli Cott results in value of 1. HB Eli Cott has gained 1 on a run.
15 - Halifax - RX11 - OL+RB r_rating 2. Power plunge up the middle... HB Eli Cott has gained 2 on a run.
16 - Halifax - PR12 - Musette Desaulniers finds WR1 Bogdashka Faustov on a post route! WR Bogdashka Faustov has gained 5 on a pass and scored a touchdown! Halifax scored 14 on their drive.
Calgary takes over posession.
Current score is:
Calgary: 15
Halifax: 28
17 - Calgary - XR2 - DL1 Jamari McDowell x_rating: 0 vs QB Tony Klassen x_rating 0. Shuttle pass complete... Resolver die roll of 1. DL Jamari McDowell has broken up a screen play for -0! Calgary scored 0 on their drive.
Halifax takes over posession.
Current score is:
Calgary: 15
Halifax: 28
18 - Halifax - XR3 - LB2 Ari Mntymaa x_rating: 0 vs RB2 Bogdashka Faustov x_rating 2. Bogdashka Faustov twists away from sure tackle by Ari Mntymaa, who is stunned! WR Bogdashka Faustov has gained 1 on a run.
19 - Halifax - PP11 - DL1 Phil Bartlatt p_rating:2/2 vs Musette Desaulniers 2/2. Leaping grab made on rushed throw. WR Bogdashka Faustov has gained 2 on a pass.
20 - Halifax - PX10 - DB1 Otis Palmer p_rating:1/ 1 vs QB Musette Desaulniers p rating 2 Gutsy play! HB Eli Cott has gained 6 on a pass.
21 - Halifax - EC12 - Major offensive penalty on Halifax -- Personal foul: OL Erik Olesen. Halifax has 7 pending points.
22 - Halifax - PP6 - Musette Desaulniers completes a pass! WR Adam Brown has gained 1 on a pass.
23 - Halifax - EC3 - Minor defensive penalty on Calgary -- Conduct: LB Troy Wilson. Halifax has 9 pending points.
24 - Halifax - PX5 - Ball Control Offence. DL2 Phil Bartlatt p_rating:2/ 2 vs QB Musette Desaulniers p rating 2 HB Eli Cott has gained 0 on a pass and scored a touchdown! Halifax scored 14 on their drive.
Calgary takes over posession.
Current score is:
Calgary: 15
Halifax: 42
25 - Calgary - No Play - Skipped Play
26 - Calgary - EC8 - Savage collision between WR Damien Tofi and DL Roger Douglass leaves both stunned! WR Damien Tofi has gained 1 on a run.
27 - Calgary - XX7 - Hurry Up Offence. Aggressive short pass... WR Damien Tofi has gained 2 on a pass.
SirBlurton is offline   Reply With Quote