add: base backend interaction

This commit is contained in:
Namonay 2024-03-24 23:34:25 +01:00 committed by AdrienLSH
parent 83bfb13590
commit 630f59055a

View File

@ -62,6 +62,13 @@ class TicTacToe
return -1;
targetCase = findSquare(x, this.rectsize * 3 * findPlace(x, this) + this.gap, this) + findSquare(y, this.rectsize * 3 * findPlace(y, this) + this.gap, this) * 3;
console.log("TargetMorpion :" + targetMorpion + " targetCase :" + targetCase);
// if (sendCase(targetCase, targetMorpion)) // si la case est disponible
// putCase(targetCase, targetMorpion); // print the case
// else
// return ;
}
DrawSuperMorpion()