Football World CupScore Board is simple console application storing current football game results in memory.
Run application:
make run
Run tests:
make test
start game with starting score equal 0
start {{.HomeTeamName}} {{.AwayTeamName}}
update game score between teams if game exists
update {{.HomeTeamName}} {{.HomeTeamScore}} {{.AwayTeamName}} {{.AwayTeamScore}}
args:
{{.HomeTeamScore}} | {{.AwayTeamScore}}
-
integers greater than or equal zero
finish game between teams if game exists
finish {{.HomeTeamName}} {{.AwayTeamScore}}
print score board with all active games
summary
print help
help
exit application
exit