diff --git a/frontend/static/js/index.js b/frontend/static/js/index.js index 7c3856e..3cba44e 100644 --- a/frontend/static/js/index.js +++ b/frontend/static/js/index.js @@ -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 }, ]; diff --git a/frontend/static/js/lang/cr.json b/frontend/static/js/lang/cr.json index 238a581..d91bc73 100644 --- a/frontend/static/js/lang/cr.json +++ b/frontend/static/js/lang/cr.json @@ -38,7 +38,8 @@ "profileBlock": "Quoicoubloquer", "gameGoalTaken": "Tu es quoicoucringe", "gamePlayersListName": "Crampteurs", - "ticTacToe": "Quoicoumorpion", + "ticTacToe": "Quoicoumorpion hors crampté", + "ticTacToeOnline" : "Quoicoumorpion crampté", "ruleTitle" : "Règles cramptés", "ruleBase" : "cramptun. Vous devez quouicougagner sur une des 9 quoicougrilles pour gagner la croustipartie", "ruleMovement" : "quoicoudeux. Vous quoicommencez sur le morpion quoicoucentral, et jouez sur le quoicoumorpion correspondant a votre croustichoix a votre prochain cramptour", diff --git a/frontend/static/js/lang/en.json b/frontend/static/js/lang/en.json index 406142b..2573f4f 100644 --- a/frontend/static/js/lang/en.json +++ b/frontend/static/js/lang/en.json @@ -38,7 +38,8 @@ "profileBlock": "Block", "gameGoalTaken": "Goal Taken", "gamePlayersListName": "Players", - "ticTacToe": "TicTacToe", + "ticTacToe": "TicTacToe offline", + "ticTacToeOnline" : "TicTacToe online", "ruleTitle" : "Rules", "ruleBase" : "1. Win on one of the 9 tictactoe to win the game", "ruleMovement" : "2. You start on the central tictactoe, and play on the one corresponding to your choice on the next turn", diff --git a/frontend/static/js/lang/fr.json b/frontend/static/js/lang/fr.json index 523e068..aed5f98 100644 --- a/frontend/static/js/lang/fr.json +++ b/frontend/static/js/lang/fr.json @@ -38,7 +38,8 @@ "profileBlock": "Bloquer", "gameGoalTaken": "But pris", "gamePlayersListName": "Joueurs", - "ticTacToe" : "Morpion", + "ticTacToe" : "Morpion hors ligne", + "ticTacToeOnline" : "Morpion en ligne", "ruleTitle" : "Règles", "ruleBase" : "1. Vous devez gagner sur une des 9 grilles pour gagner la partie", "ruleMovement" : "2. Vous commencez sur le morpion central, et jouez sur le morpion correspondant a votre choix a votre prochain tour", diff --git a/frontend/static/js/lang/tp.json b/frontend/static/js/lang/tp.json index cb8156f..679da08 100644 --- a/frontend/static/js/lang/tp.json +++ b/frontend/static/js/lang/tp.json @@ -38,7 +38,8 @@ "profileBlock": "Tawa e nimi pi jan ni", "gameGoalTaken": "Wile pali", "gamePlayersListName": "Musi", - "ticTacToe": "TicTacToe", + "ticTacToe": "TicTacToe offline", + "ticTacToeOnline" : "TicTacToe bismillah", "ruleTitle" : "Rules", "ruleBase" : "1. Win on wan pi the 9 tictactoe tawa win the game", "ruleMovement" : "2. Sina open on the central tictactoe, en play on the wan corresponding tawa your choice on the next turn", diff --git a/frontend/static/js/views/HomeView.js b/frontend/static/js/views/HomeView.js index aa153d4..b698f79 100644 --- a/frontend/static/js/views/HomeView.js +++ b/frontend/static/js/views/HomeView.js @@ -12,6 +12,7 @@ export default class extends AbstractAuthenticatedView {