allow the control interface to specify game type

This commit is contained in:
Fraser Graham
2014-01-15 22:16:06 -08:00
parent 9583de2ffa
commit 90b7731865
4 changed files with 20 additions and 11 deletions
+1
View File
@@ -167,6 +167,7 @@ func addPlayer(ws *websocket.Conn) {
conf.Obstacles,
conf.Tick,
conf.MaxPoints,
"",
)
go game.run()
games.add(game)