What is data-cell-index btw?
The data-cell-index is a custom attribute on an HTML element, you can read more about them here: developer.mozilla.org/en-US/docs/L...
We are using it to more cleanly track the position of the cell that has been clicked and to update the game state array at its position.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.