pared down logging in favor of unittests
This commit is contained in:
@@ -22,7 +22,6 @@ type instruction struct {
|
||||
|
||||
func (p *player) sender() {
|
||||
for things := range p.send {
|
||||
// log.Printf("%v\n", things)
|
||||
err := websocket.JSON.Send(p.ws, *things)
|
||||
if err != nil {
|
||||
break
|
||||
@@ -87,8 +86,6 @@ func (p *player) fire() {
|
||||
}
|
||||
}
|
||||
|
||||
// log.Printf("%v Fired at %v %v", p.Robot.Id, p.Robot.FireAt.X, p.Robot.FireAt.Y)
|
||||
|
||||
proj := &projectile{
|
||||
Id: p.Robot.Id,
|
||||
Position: p.Robot.Position,
|
||||
|
||||
Reference in New Issue
Block a user