diff --git a/frontend/static/js/index.js b/frontend/static/js/index.js index c71ecc0..71b3325 100644 --- a/frontend/static/js/index.js +++ b/frontend/static/js/index.js @@ -17,6 +17,7 @@ import TournamentPageView from "./views/tournament/TournamentPageView.js"; import TournamentsView 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"; let client = new Client(location.origin); let lang = client.lang; @@ -88,6 +89,7 @@ const router = async(uri) => { { path: "/matchmaking", view: MatchMakingView }, { path: "/games/offline", view: GameOfflineView }, { path: "/games/:id", view: GameView }, + { path: "/tictactoe", view: TicTacToeView }, ]; // Test each route for potential match diff --git a/frontend/static/js/lang/cr.json b/frontend/static/js/lang/cr.json index c5d8b44..558e5d1 100644 --- a/frontend/static/js/lang/cr.json +++ b/frontend/static/js/lang/cr.json @@ -37,5 +37,6 @@ "profileUnblock": "Quoicoudebloquer", "profileBlock": "Quoicoubloquer", "gameGoalTaken": "Tu es quoicoucringe", - "gamePlayersListName": "Crampteurs" + "gamePlayersListName": "Crampteurs", + "ticTacToe": "Quoicoumorpion" } diff --git a/frontend/static/js/lang/en.json b/frontend/static/js/lang/en.json index fab053d..1af3756 100644 --- a/frontend/static/js/lang/en.json +++ b/frontend/static/js/lang/en.json @@ -37,5 +37,6 @@ "profileUnblock": "Unblock", "profileBlock": "Block", "gameGoalTaken": "Goal Taken", - "gamePlayersListName": "Players" + "gamePlayersListName": "Players", + "ticTacToe": "Morpion" } diff --git a/frontend/static/js/lang/tp.json b/frontend/static/js/lang/tp.json index 7874462..5254e1f 100644 --- a/frontend/static/js/lang/tp.json +++ b/frontend/static/js/lang/tp.json @@ -35,6 +35,7 @@ "profileDenyRequest": "ante e ijo ni", "profileAcceptRequest": "kama jo e ijo ni", "profileUnblock": "Tawa ala e nimi pi jan ni", - "profileBlock": "Tawa e nimi pi jan ni" + "profileBlock": "Tawa e nimi pi jan ni", + "ticTacToe": "TicTacToe" } diff --git a/frontend/static/js/views/HomeView.js b/frontend/static/js/views/HomeView.js index 1724176..aa153d4 100644 --- a/frontend/static/js/views/HomeView.js +++ b/frontend/static/js/views/HomeView.js @@ -12,6 +12,7 @@ export default class extends AbstractAuthenticatedView {