All robots are spectators

This commit is contained in:
sm
2015-08-31 21:48:25 -07:00
parent 855208b39d
commit 3ef90af341
5 changed files with 78 additions and 51 deletions
+6 -1
View File
@@ -66,7 +66,6 @@ func (p *SimplePlayer) Update(bs *server.Boardstate) map[string]server.Instructi
Probe: &probe_point,
}
}
return instructions
}
@@ -149,3 +148,9 @@ func (p *SimplePlayer) probe(destination vector.Point2d) bool {
}
return true
}
type Spectator struct{}
func (s Spectator) Update(bs *server.Boardstate) map[string]server.Instruction {
return nil
}