summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordemo <demo@antix1>2026-05-25 10:30:31 -0400
committerdemo <demo@antix1>2026-05-25 10:30:31 -0400
commit0824152fce405d1e615360ae148b2e061527647e (patch)
treef9fd63dadf20cce0689258e1ee25967147d3ab99
parenta7c887d263cffe80b65971dfefeab60c464eebe4 (diff)
docs: indicate where in the code the game startsmaster
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index 2b0310f..aa63aac 100644
--- a/main.go
+++ b/main.go
@@ -55,6 +55,7 @@ func game(numSecs, numPlayers int) {
// effectively plays the role of a "done" channel here.
t := time.Tick(time.Duration(numSecs) * time.Second)
+ // Start the game.
players[0] <- Ball{}
loop: