Large refactor to properly implement radar

/radar now returns a set of non-empty tile blips
This commit is contained in:
Marc Di Luzio 2020-06-07 22:30:03 +01:00
parent fc54775df9
commit 43648926ca
11 changed files with 182 additions and 50 deletions

View file

@ -172,7 +172,7 @@ func InnerMain(command string) error {
return fmt.Errorf("Server returned failure: %s", response.Error)
} else {
fmt.Printf("nearby rovers: %+v\n", response.Rovers)
fmt.Printf("radar blips: %+v\n", response.Blips)
}
case "rover":