vantiy urls
I've moved remote to https://s.mcquay.me/hackerbots/ and stood up routes for go get on the hackerbots repos. I had to update the imports for this to take effect.
This commit is contained in:
parent
84f151864b
commit
855208b39d
@ -6,7 +6,7 @@ import (
|
|||||||
"math/rand"
|
"math/rand"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"bitbucket.org/hackerbots/client"
|
"hackerbots.us/client"
|
||||||
)
|
)
|
||||||
|
|
||||||
var serverHostname = flag.String("server", "localhost", "server hostname")
|
var serverHostname = flag.String("server", "localhost", "server hostname")
|
||||||
|
@ -7,8 +7,9 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"bitbucket.org/hackerbots/server"
|
|
||||||
"golang.org/x/net/websocket"
|
"golang.org/x/net/websocket"
|
||||||
|
|
||||||
|
"hackerbots.us/server"
|
||||||
)
|
)
|
||||||
|
|
||||||
func connect(server string, port int) (*websocket.Conn, error) {
|
func connect(server string, port int) (*websocket.Conn, error) {
|
||||||
|
@ -6,8 +6,8 @@ import (
|
|||||||
"math/rand"
|
"math/rand"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"bitbucket.org/hackerbots/client"
|
"hackerbots.us/client"
|
||||||
"bitbucket.org/hackerbots/server"
|
"hackerbots.us/server"
|
||||||
)
|
)
|
||||||
|
|
||||||
var hp = flag.Int("hp", 50, "")
|
var hp = flag.Int("hp", 50, "")
|
||||||
|
@ -4,8 +4,8 @@ import (
|
|||||||
"math"
|
"math"
|
||||||
"math/rand"
|
"math/rand"
|
||||||
|
|
||||||
"bitbucket.org/hackerbots/server"
|
"hackerbots.us/server"
|
||||||
"bitbucket.org/hackerbots/vector"
|
"hackerbots.us/vector"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Player is the interface that is implemented when specifying non-default
|
// Player is the interface that is implemented when specifying non-default
|
||||||
|
@ -6,7 +6,7 @@ import (
|
|||||||
|
|
||||||
"github.com/nsf/termbox-go"
|
"github.com/nsf/termbox-go"
|
||||||
|
|
||||||
"bitbucket.org/hackerbots/server"
|
"hackerbots.us/server"
|
||||||
)
|
)
|
||||||
|
|
||||||
var botDown rune = 'v'
|
var botDown rune = 'v'
|
||||||
|
Loading…
Reference in New Issue
Block a user