add: added onClick event in online tictactoe

This commit is contained in:
Namonay
2024-03-24 23:02:28 +01:00
parent 4a97548f7d
commit 2f77ba0b84
3 changed files with 69 additions and 3 deletions

View File

@ -155,7 +155,7 @@ export default class extends AbstractView
highlightNewTab(morpion);
return 0;
}
function findSquare(x, gap, morpion)
{
if (x <= gap + morpion.rectsize)