Added online page (WIP)

This commit is contained in:
Namonay
2024-03-19 13:46:09 +01:00
parent 78424ff42a
commit 837ed85001
8 changed files with 106 additions and 5 deletions

View File

@ -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 },
];