-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Expected Behavior
Current Behavior
The simulation runs smoothly
Possible Solution
Check simulation data before starting it.
Additionally, in:
func (v *Vehicle) Drive(allTrips []*Trip, step int, bonus int16) (score int) {
// until the vehicle handles all scheduled rides
if v.CurrentTrip >= len(v.Trips) {
return
}
trip := allTrips[v.Trips[v.CurrentTrip]]
trip.SomeoneIsOnIt()
We should check if someone is already on it
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
