atas76 / openengine

Football match engine
MIT License
61 stars 5 forks source link

Injury time (and general time management) #27

Open atas76 opened 7 months ago

atas76 commented 7 months ago

So, far injury time is not implemented, and we assume that there is a fixed duration for each match. This would be generally fine, in terms of the simulation itself, except the case where penalties are awarded in the end of the match (still not too important, because it is a simulation after all, but also more striking to the eye to pass by). In any case, we need to see how time is allocated for each phase, as there is a lot of implicit 'dead time' included in phase periods, and this also is something to be taken into account in parallel with the specifics of injury time.