ignore new binary

Create new bserv binary

Herein lie the following ideas:

- change package visibility of many things
- try to stash the globals into structs
- the code is far from correct; it merely compiles
This commit is contained in:
sm
2014-03-31 23:21:14 -07:00
parent 62222a9ad9
commit c8efd34080
16 changed files with 146 additions and 126 deletions
+4 -4
View File
@@ -1,4 +1,4 @@
package main
package botserv
import (
"log"
@@ -7,10 +7,10 @@ import (
type deathmatch struct {
}
func (g *deathmatch) setup(gg *game) {
func (g *deathmatch) setup(gg *Game) {
}
func (g *deathmatch) gameOver(gg *game) (bool, *GameOver) {
func (g *deathmatch) gameOver(gg *Game) (bool, *GameOver) {
over := false
var stats *GameOver
@@ -41,5 +41,5 @@ func (g *deathmatch) gameOver(gg *game) (bool, *GameOver) {
return over, stats
}
func (g *deathmatch) tick(gg *game, payload *Boardstate) {
func (g *deathmatch) tick(gg *Game, payload *Boardstate) {
}