# Routes # This file defines all application routes (Higher priority routes first) # https://www.playframework.com/documentation/latest/ScalaRouting # ~~~~ # Primary routes GET / controllers.MainMenuController.index() GET /assets/*file controllers.Assets.versioned(path="/public", file: Asset) # Main menu routes GET /mainmenu controllers.MainMenuController.mainMenu() GET /rules controllers.MainMenuController.rules() # User authentication routes GET /login controllers.UserController.login() POST /login controllers.UserController.login_Post() GET /logout controllers.UserController.logout() # In-game routes # GET /ingame/:id controllers.MainMenuController.ingame(id: String)