diff --git a/game.go b/game.go index 46587af..0d2f434 100644 --- a/game.go +++ b/game.go @@ -14,7 +14,6 @@ type game struct { splosions map[*bot.Splosion]bool register chan *player unregister chan *player - robot_id chan int turn int width, height float64 spectators map[*Spectator]bool @@ -39,16 +38,7 @@ func NewGame(id string, width, height float64) *game { sunregister: make(chan *Spectator), kill: make(chan bool, 128), } - - g.robot_id = make(chan int) - go func() { - for i := 0; ; i++ { - g.robot_id <- i - } - }() - return g - } func (g *game) run() {