// Get the identifier of a HTML square from its numeric coordinates o.x,o.y.
export function getSquareId(o)
{
// Get the identifier of a HTML square from its numeric coordinates o.x,o.y.
export function getSquareId(o)
{
- const idParts = id.split('-');
- return [parseInt(idParts[1]), parseInt(idParts[2])];
+ const idParts = id.split('-');
+ return [parseInt(idParts[1]), parseInt(idParts[2])];