Browse Source

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.
Stephen McQuay 4 years ago
parent
commit
446eba5209
10 changed files with 14 additions and 12 deletions
  1. 1
    1
      botserv/main.go
  2. 2
    1
      control.go
  3. 1
    1
      game.go
  4. 1
    1
      obstacle.go
  5. 2
    1
      player.go
  6. 1
    1
      projectile.go
  7. 2
    1
      protocol.go
  8. 2
    3
      robot.go
  9. 1
    1
      robot_test.go
  10. 1
    1
      splosion.go

+ 1
- 1
botserv/main.go View File

@@ -10,7 +10,7 @@ import (
10 10
 	"runtime/pprof"
11 11
 	"time"
12 12
 
13
-	"bitbucket.org/hackerbots/server"
13
+	"hackerbots.us/server"
14 14
 )
15 15
 
16 16
 var addr = flag.String("addr", ":8666", "http service address")

+ 2
- 1
control.go View File

@@ -12,8 +12,9 @@ import (
12 12
 	"strings"
13 13
 	"sync"
14 14
 
15
-	"github.com/smcquay/idg"
16 15
 	"golang.org/x/net/websocket"
16
+
17
+	"mcquay.me/idg"
17 18
 )
18 19
 
19 20
 // JsonHandler is a function type that allows setting the Content-Type

+ 1
- 1
game.go View File

@@ -8,7 +8,7 @@ import (
8 8
 	"sync"
9 9
 	"time"
10 10
 
11
-	"bitbucket.org/smcquay/bandwidth"
11
+	"mcquay.me/bandwidth"
12 12
 )
13 13
 
14 14
 const maxPlayer = 128

+ 1
- 1
obstacle.go View File

@@ -5,7 +5,7 @@ import (
5 5
 	"math"
6 6
 	"math/rand"
7 7
 
8
-	v "bitbucket.org/hackerbots/vector"
8
+	v "hackerbots.us/vector"
9 9
 )
10 10
 
11 11
 // Obstacle is the implementation of the generic building type in the game.

+ 2
- 1
player.go View File

@@ -5,8 +5,9 @@ import (
5 5
 	"encoding/json"
6 6
 	"log"
7 7
 
8
-	"bitbucket.org/smcquay/bandwidth"
9 8
 	"golang.org/x/net/websocket"
9
+
10
+	"mcquay.me/bandwidth"
10 11
 )
11 12
 
12 13
 const maxMessageSize = 1024

+ 1
- 1
projectile.go View File

@@ -3,7 +3,7 @@ package server
3 3
 import (
4 4
 	"log"
5 5
 
6
-	v "bitbucket.org/hackerbots/vector"
6
+	v "hackerbots.us/vector"
7 7
 )
8 8
 
9 9
 // Projectile are the things robots can shoot at eachother.

+ 2
- 1
protocol.go View File

@@ -3,8 +3,9 @@ package server
3 3
 import (
4 4
 	"log"
5 5
 
6
-	v "bitbucket.org/hackerbots/vector"
7 6
 	"golang.org/x/net/websocket"
7
+
8
+	v "hackerbots.us/vector"
8 9
 )
9 10
 
10 11
 // GameID is essentially the name of the game we want to join

+ 2
- 3
robot.go View File

@@ -5,9 +5,8 @@ import (
5 5
 	"math"
6 6
 	"math/rand"
7 7
 
8
-	"github.com/smcquay/idg"
9
-
10
-	v "bitbucket.org/hackerbots/vector"
8
+	v "hackerbots.us/vector"
9
+	"mcquay.me/idg"
11 10
 )
12 11
 
13 12
 // Robot contains everything the game needs to know to simulate robot behavior.

+ 1
- 1
robot_test.go View File

@@ -5,7 +5,7 @@ import (
5 5
 	"math"
6 6
 	"testing"
7 7
 
8
-	v "bitbucket.org/hackerbots/vector"
8
+	v "hackerbots.us/vector"
9 9
 )
10 10
 
11 11
 func init() {

+ 1
- 1
splosion.go View File

@@ -1,7 +1,7 @@
1 1
 package server
2 2
 
3 3
 import (
4
-	v "bitbucket.org/hackerbots/vector"
4
+	v "hackerbots.us/vector"
5 5
 )
6 6
 
7 7
 // Splosion embodies an explosion.

Loading…
Cancel
Save