Added online page (WIP)
This commit is contained in:
@ -19,6 +19,7 @@ import TournamentsListView from "./views/tournament/TournamentsListView.js";
|
||||
import TournamentCreateView from "./views/tournament/TournamentCreateView.js";
|
||||
import AuthenticationView from "./views/accounts/AuthenticationView.js";
|
||||
import TicTacToeView from "./views/TicTacToeView.js";
|
||||
import TicTacToeOnlineView from "./views/TicTacToeViewOnline.js";
|
||||
import GameHistoryView from "./views/GameHistoryView.js";
|
||||
|
||||
let client = new Client(location.origin);
|
||||
@ -92,6 +93,7 @@ const router = async(uri) => {
|
||||
{ path: "/matchmaking", view: MatchMakingView },
|
||||
{ path: "/games/offline", view: GameOfflineView },
|
||||
{ path: "/tictactoe", view: TicTacToeView },
|
||||
{ path: "/tictactoeonline", view: TicTacToeOnlineView },
|
||||
{ path: "/games/:id/0", view: GameView2D },
|
||||
{ path: "/games/:id/1", view: GameView3D },
|
||||
];
|
||||
|
Reference in New Issue
Block a user