je cède au caprices de Etienne le GROS BEBE
This commit is contained in:
parent
11e8be0830
commit
deba3bcec1
@ -104,7 +104,7 @@ class TicTacToe
|
||||
{
|
||||
this.context.beginPath();
|
||||
this.context.fillStyle = "white";
|
||||
this.context.font = `40px Verdana`;
|
||||
this.context.font = `20px Verdana`;
|
||||
this.context.fillText(sec, this.width / 2, this.gap / 2);
|
||||
this.context.closePath();
|
||||
sec--;
|
||||
@ -126,7 +126,7 @@ class TicTacToe
|
||||
{
|
||||
this.context.beginPath();
|
||||
this.context.fillStyle = "white";
|
||||
this.context.font = `40px Verdana`;
|
||||
this.context.font = `20px Verdana`;
|
||||
this.context.fillText(sec, this.width / 2, this.gap / 2);
|
||||
this.context.closePath();
|
||||
}
|
||||
|
@ -10,13 +10,13 @@ export class TicTacToeOnlineView extends AbstractView
|
||||
this.params = params;
|
||||
this.titleKey = titleKey;
|
||||
this.game_id = params.id;
|
||||
this.height = 660;
|
||||
this.width = 660;
|
||||
this.height = 560;
|
||||
this.width = 560;
|
||||
}
|
||||
|
||||
async postInit()
|
||||
{
|
||||
this.Morpion = new TicTacToe(this.height, this.width, 60, 60, document.getElementById("Morpion"), this.game_id);
|
||||
this.Morpion = new TicTacToe(this.height, this.width, 30, 55.5, document.getElementById("Morpion"), this.game_id);
|
||||
this.Morpion.DrawSuperMorpion();
|
||||
await this.Morpion.init();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user