Added back rules & translations... (skill issue with git)
This commit is contained in:
parent
0772b4c92d
commit
f567943894
@ -38,5 +38,9 @@
|
|||||||
"profileBlock": "Quoicoubloquer",
|
"profileBlock": "Quoicoubloquer",
|
||||||
"gameGoalTaken": "Tu es quoicoucringe",
|
"gameGoalTaken": "Tu es quoicoucringe",
|
||||||
"gamePlayersListName": "Crampteurs",
|
"gamePlayersListName": "Crampteurs",
|
||||||
"ticTacToe": "Quoicoumorpion"
|
"ticTacToe": "Quoicoumorpion",
|
||||||
|
"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",
|
||||||
|
"ruleDraw" : "cramptrois. Si votre quoicouchoix rempli entièrement un quoicoumorpion et provoque une cramptégalité, vous perdez"
|
||||||
}
|
}
|
||||||
|
@ -38,5 +38,9 @@
|
|||||||
"profileBlock": "Block",
|
"profileBlock": "Block",
|
||||||
"gameGoalTaken": "Goal Taken",
|
"gameGoalTaken": "Goal Taken",
|
||||||
"gamePlayersListName": "Players",
|
"gamePlayersListName": "Players",
|
||||||
"ticTacToe": "TicTacToe"
|
"ticTacToe": "TicTacToe",
|
||||||
|
"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",
|
||||||
|
"ruleDraw" : "3. If your play cause a tictactoe to be full and a draw, you lose the game"
|
||||||
}
|
}
|
||||||
|
@ -38,5 +38,9 @@
|
|||||||
"profileBlock": "Bloquer",
|
"profileBlock": "Bloquer",
|
||||||
"gameGoalTaken": "But pris",
|
"gameGoalTaken": "But pris",
|
||||||
"gamePlayersListName": "Joueurs",
|
"gamePlayersListName": "Joueurs",
|
||||||
"ticTacToe" : "Morpion"
|
"ticTacToe" : "Morpion",
|
||||||
|
"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",
|
||||||
|
"ruleDraw" : "3. Si votre choix rempli entièrement un morpion et provoque une égalité, vous perdez"
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,10 @@
|
|||||||
"profileAcceptRequest": "kama jo e ijo ni",
|
"profileAcceptRequest": "kama jo e ijo ni",
|
||||||
"profileUnblock": "Tawa ala e nimi pi jan 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"
|
"ticTacToe": "TicTacToe",
|
||||||
|
"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",
|
||||||
|
"ruleDraw" : "3. If your play cause a tictactoe tawa be full en a draw, sina lose the game"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -237,12 +237,17 @@ export default class extends AbstractView
|
|||||||
async getHtml()
|
async getHtml()
|
||||||
{
|
{
|
||||||
return `
|
return `
|
||||||
<h1>${lang.get('ticTacToe')}</h1>
|
<h1>${lang.get('ticTacToe')}</h1>
|
||||||
<div style="display: flex">
|
<div style="display: flex">
|
||||||
<canvas id="Morpion" width="${this.width}" height="${this.height}"></canvas>
|
<canvas id="Morpion" width="${this.width}" height="${this.height}"></canvas>
|
||||||
<h2 style="margin-left: 5%">J'arrive a ecrire du html a droite 🤓🤓🤓🤓</h2>
|
<div>
|
||||||
|
<h2 style="padding-left: 50px"><B>${lang.get('ruleTitle')}</B></h2>
|
||||||
|
<h5 style="padding-left: 30px">${lang.get('ruleBase')}<br><br></h5>
|
||||||
|
<h5 style="padding-left: 30px">${lang.get('ruleMovement')}<br><br></h5>
|
||||||
|
<h5 style="padding-left: 30px">${lang.get('ruleDraw')}</h5>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user