All robots are spectators
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user