Write a simple implementation of the Dots and Boxes game that works in a web browser.
Refer https://en.wikipedia.org/wiki/Dots_and_Boxes Write a 4 X 4 Dots and Boxes game. The two players are humans and they can take the turn from the web page.
When a user opens the page in their browser, it should display a game board and indicate which player (e.g. red player) takes the turn. Players take turns using a single browser window (no server-side code needed). If any player fills a box they can make another move. When all boxes covered, the page should indicate the winner, the game ends and no more moves can be made.
Things to keep in mind: