Exemplo n.º 1
0
func handleGameEvents(c chan struct{}, g *agario.Game) {
	for {
		g.RunOnce(false)
		for g.RunOnce(true) {
		}
		c <- struct{}{}
	}
}