renamed package/directory

This commit is contained in:
sm
2014-04-23 14:28:06 -07:00
parent 7e4e6faa00
commit 51d0522833
4 changed files with 43 additions and 43 deletions
+5 -5
View File
@@ -6,8 +6,8 @@ import (
"math/rand"
"time"
"bitbucket.org/hackerbots/botclient"
"bitbucket.org/hackerbots/botserv"
hbclient "bitbucket.org/hackerbots/client"
hbserver "bitbucket.org/hackerbots/server"
)
var hp = flag.Int("hp", 50, "")
@@ -39,13 +39,13 @@ func main() {
gameId = flag.Arg(0)
}
c := &botclient.Client{
c := &hbclient.Client{
Server: *server,
Port: *port,
Name: *botname,
GameId: gameId,
// XXX: update with missing fields
StatsReq: botserv.StatsRequest{
StatsReq: hbserver.StatsRequest{
Hp: *hp,
Speed: *speed,
Acceleration: *acceleration,
@@ -65,7 +65,7 @@ func main() {
log.Printf("%s: failed to negociate: %s", c.Name, err)
}
c.Player = botclient.NewSimplePlayer(
c.Player = hbclient.NewSimplePlayer(
c.Game.BoardSize.Width,
c.Game.BoardSize.Height,
)