This update adds detection for cars stopped on track and cars off track, with adjustable parameters. It also updated the random safety car logic to work on probabilities rather than pre-generated times. A few bugs which hadn't been found yet have been fixed in this version as well.
Fixes #7 and #8
Type of change
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
Testing
Several tests were run with both humans and AI on track, throwing as many odd situations as we could think of at it.
Description
This update adds detection for cars stopped on track and cars off track, with adjustable parameters. It also updated the random safety car logic to work on probabilities rather than pre-generated times. A few bugs which hadn't been found yet have been fixed in this version as well.
Fixes #7 and #8
Type of change
Testing
Several tests were run with both humans and AI on track, throwing as many odd situations as we could think of at it.