Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sateesh
· 1y ago · 0 comments
Your example solution has only one player. Your solution won't work when there are multiple players.
Comments
[–]
ajankovic
1y ago
I don't think you examined the code in full. main spawns 10 go routines that are constantly sending player scores to the game. That means 10 different players are sending their scores concurrently until someone reaches score of 100.