adamzev / adamzev/baseball

advance_runners function is overly simple

Offen
#22 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @briancaffey Auf GitHub ansehen
help wanted
Vorherrschende Sprache
JavaScript
Sterne
4
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

The advance_runners function advances runners based on the base the hitter gets to (on a double, everyone moves forward two bases). But, for singles especially, decent runners can go from 1st to 3rd on a single. Perhaps there should be a "time to advance bases" concept where runners have a certain amount of time to advance based on the hit type? This is related to issue #11 as it lowers the overall score.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.