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
d00e2a8df8
commit
446eba5209
@ -10,7 +10,7 @@ import (
|
|||||||
"runtime/pprof"
|
"runtime/pprof"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"bitbucket.org/hackerbots/server"
|
"hackerbots.us/server"
|
||||||
)
|
)
|
||||||
|
|
||||||
var addr = flag.String("addr", ":8666", "http service address")
|
var addr = flag.String("addr", ":8666", "http service address")
|
||||||
|
@ -12,8 +12,9 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/smcquay/idg"
|
|
||||||
"golang.org/x/net/websocket"
|
"golang.org/x/net/websocket"
|
||||||
|
|
||||||
|
"mcquay.me/idg"
|
||||||
)
|
)
|
||||||
|
|
||||||
// JsonHandler is a function type that allows setting the Content-Type
|
// JsonHandler is a function type that allows setting the Content-Type
|
||||||
|
2
game.go
2
game.go
@ -8,7 +8,7 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"bitbucket.org/smcquay/bandwidth"
|
"mcquay.me/bandwidth"
|
||||||
)
|
)
|
||||||
|
|
||||||
const maxPlayer = 128
|
const maxPlayer = 128
|
||||||
|
@ -5,7 +5,7 @@ import (
|
|||||||
"math"
|
"math"
|
||||||
"math/rand"
|
"math/rand"
|
||||||
|
|
||||||
v "bitbucket.org/hackerbots/vector"
|
v "hackerbots.us/vector"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Obstacle is the implementation of the generic building type in the game.
|
// Obstacle is the implementation of the generic building type in the game.
|
||||||
|
@ -5,8 +5,9 @@ import (
|
|||||||
"encoding/json"
|
"encoding/json"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"bitbucket.org/smcquay/bandwidth"
|
|
||||||
"golang.org/x/net/websocket"
|
"golang.org/x/net/websocket"
|
||||||
|
|
||||||
|
"mcquay.me/bandwidth"
|
||||||
)
|
)
|
||||||
|
|
||||||
const maxMessageSize = 1024
|
const maxMessageSize = 1024
|
||||||
|
@ -3,7 +3,7 @@ package server
|
|||||||
import (
|
import (
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
v "bitbucket.org/hackerbots/vector"
|
v "hackerbots.us/vector"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Projectile are the things robots can shoot at eachother.
|
// Projectile are the things robots can shoot at eachother.
|
||||||
|
@ -3,8 +3,9 @@ package server
|
|||||||
import (
|
import (
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
v "bitbucket.org/hackerbots/vector"
|
|
||||||
"golang.org/x/net/websocket"
|
"golang.org/x/net/websocket"
|
||||||
|
|
||||||
|
v "hackerbots.us/vector"
|
||||||
)
|
)
|
||||||
|
|
||||||
// GameID is essentially the name of the game we want to join
|
// GameID is essentially the name of the game we want to join
|
||||||
|
5
robot.go
5
robot.go
@ -5,9 +5,8 @@ import (
|
|||||||
"math"
|
"math"
|
||||||
"math/rand"
|
"math/rand"
|
||||||
|
|
||||||
"github.com/smcquay/idg"
|
v "hackerbots.us/vector"
|
||||||
|
"mcquay.me/idg"
|
||||||
v "bitbucket.org/hackerbots/vector"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// Robot contains everything the game needs to know to simulate robot behavior.
|
// Robot contains everything the game needs to know to simulate robot behavior.
|
||||||
|
@ -5,7 +5,7 @@ import (
|
|||||||
"math"
|
"math"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
v "bitbucket.org/hackerbots/vector"
|
v "hackerbots.us/vector"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package server
|
package server
|
||||||
|
|
||||||
import (
|
import (
|
||||||
v "bitbucket.org/hackerbots/vector"
|
v "hackerbots.us/vector"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Splosion embodies an explosion.
|
// Splosion embodies an explosion.
|
||||||
|
Loading…
Reference in New Issue
Block a user