main.go 436 B

1234567891011121314151617181920212223
  1. package gamelogic
  2. import (
  3. "bet24.com/servers/games/fish/bullet"
  4. "bet24.com/servers/games/fish/config"
  5. "bet24.com/servers/games/fish/fish"
  6. "bet24.com/servers/insecureframe/frame"
  7. )
  8. var Stopping bool
  9. func Run() {
  10. if test() {
  11. return
  12. }
  13. Stopping = false
  14. frame.RunFrame(newGameSink(), config.Server.ChannelUrl, config.Server.ChannelPassword, config.Server.RedisDB)
  15. fish.Run()
  16. bullet.Run()
  17. }
  18. func test() bool {
  19. return false
  20. }