moved all negociation code into a single function

This commit is contained in:
sm
2013-09-28 12:37:23 -07:00
parent b142845b5c
commit 2a2f4f6f96
3 changed files with 84 additions and 97 deletions
-7
View File
@@ -9,13 +9,6 @@ import (
const maxPlayer = 128
type Config struct {
ID string `json:"id"`
Name string `json:"name"`
// TODO: candidate for embedding?
Stats Stats `json:"stats"`
}
type Boardstate struct {
Robots []Robot `json:"robots"`
Projectiles []Projectile `json:"projectiles"`