Add random float priority system on vehicles at crossroads without traffic lights
User story
Describe your new feature as a user story:
- As a Traffic Engineer
- I want to stop vehicles becoming stuck in a deadlock
- in order to allow vehicles to flow freely.
Business value
What business value does this feature have for the client?
Gives a realistic flow of vehicles
Acceptance criteria
How will you know when the feature complete, or good enough to deploy to a live environment? Your criteria should be testable in both QA and unit tests.
Deadlocks will be avoided on cross road junctions without lights
Notes
Assign a random float to vehicles where the vehicle with the highest float has priority in the system and will go first to stop a deadlock forming