Junior — Middle+
Creating an infinite field for tic-tac-toe game
livecode
Task condition
Create a client-side web application (without server-side components) for implementing tic-tac-toe on an unlimited field, where:
- A win is registered when a specified number of identical symbols appear consecutively on any line (the value is set by a constant).
- The first move must be in the cell with coordinates (0, 0).
- The game state should be preserved between page reloads (for example, using localStorage).