end of game kneeling logic and spiking logic

end of game kneeling logic and spiking logic

Postby KW77 » Thu Aug 19, 2021 12:24 pm

Image

In real life, the Panthers should have just kneeled down and ran the clock after the 3rd down conversion with 90s left, as Tennessee used all timeouts. Instead CAR continues to run another play for no reason, fumble and eventually lose.

Can the logic be improved next year?
Last edited by KW77 on Sun Sep 19, 2021 10:17 am, edited 1 time in total.
KW77
Junior Member
 
Posts: 55
Joined: Wed Apr 29, 2020 2:11 pm
Location: CO

Re: end of game kneeling logic

Postby Brooks_Piggott » Thu Aug 19, 2021 7:42 pm

Yea, that's odd... the code calculates the time remaining in the game and 40 seconds for each remaining play and if they can kneel out the clock they do. I'm not sure where the calc went wrong in this scenario. I'll have to see if I can force these scenarios to happen to see what the logic is doing.
User avatar
Brooks_Piggott
Moderator
 
Posts: 2917
Joined: Sat Sep 29, 2007 2:23 pm
Location: Austin, TX

Re: end of game kneeling logic

Postby KW77 » Sat Aug 21, 2021 6:34 pm

Brooks_Piggott wrote:Yea, that's odd... the code calculates the time remaining in the game and 40 seconds for each remaining play and if they can kneel out the clock they do. I'm not sure where the calc went wrong in this scenario. I'll have to see if I can force these scenarios to happen to see what the logic is doing.

would "aggressive offense" have to do with anything? Logically it shouldn't, but wonder if that's what's causing it
KW77
Junior Member
 
Posts: 55
Joined: Wed Apr 29, 2020 2:11 pm
Location: CO

Re: end of game kneeling logic

Postby Brooks_Piggott » Mon Aug 23, 2021 10:07 pm

Was this 2nd quarter or 4th quarter? Can you post a link to the full boxscore?
User avatar
Brooks_Piggott
Moderator
 
Posts: 2917
Joined: Sat Sep 29, 2007 2:23 pm
Location: Austin, TX

Re: end of game kneeling logic

Postby KW77 » Fri Aug 27, 2021 3:53 pm

KW77
Junior Member
 
Posts: 55
Joined: Wed Apr 29, 2020 2:11 pm
Location: CO

Re: end of game kneeling logic

Postby KW77 » Sun Sep 19, 2021 10:16 am

https://championsimleague.com/football/html/Logs/PBP.html?id=2139
https://championsimleague.com/football/html/Logs/PBP.html?id=2139

Similar to the previous issue, the ball spiking logic needs some work as well. Scroll down to the last 2 minutes of this game. The score is tied at 27. The Panthers spike the ball with 38 seconds left on 3rd down, only to kick a very long field goal, which misses and gives the ball back to Detroit. They get the ball back with time to run a play and then kick the FG for the win. We need some logic in place for a team to simply hold onto the ball in this situation.
KW77
Junior Member
 
Posts: 55
Joined: Wed Apr 29, 2020 2:11 pm
Location: CO

Re: end of game kneeling logic and spiking logic

Postby Brooks_Piggott » Mon Sep 20, 2021 9:52 pm

Game code has about a 20% chance there of spiking the ball. So 8 out of 10 times they'll try for another play. In this case the conservative route was chosen and they went for the FG.
User avatar
Brooks_Piggott
Moderator
 
Posts: 2917
Joined: Sat Sep 29, 2007 2:23 pm
Location: Austin, TX


Return to DDS: Pro Football 2021 General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest