|
|
@ -98,7 +98,7 @@ type GameMode interface { |
|
|
|
func NewGame(id string, width, height float32, obstacles, tick, maxPoints int, mode string) (*game, error) { |
|
|
|
bw, err := bandwidth.NewBandwidth( |
|
|
|
[]int{1, 10, 60}, |
|
|
|
time.Duration(500)*time.Millisecond, |
|
|
|
1*time.Second, |
|
|
|
) |
|
|
|
if err != nil { |
|
|
|
log.Fatal("seriously, what the fuck") |
|
|
|