add: added onClick event in online tictactoe

This commit is contained in:
Namonay
2024-03-24 23:02:28 +01:00
committed by AdrienLSH
parent 9a24c3b813
commit 83bfb13590
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)