This part initializes the document as an HTML5 document and sets the language to English.
The head section includes metadata about the HTML document.
Go Game
This metadata sets the character encoding, viewport settings for responsive design, and the title of the document as "Go Game".
This section includes CSS styles for the Go game board, stones, and captured stone counts, defining their appearance and layout.
The body section contains the visible content of the HTML document.
This div element is the container for the Go game board.
Pedres negres capturades: 0
Pedres blanques capturades: 0
This div element and its child span elements display the count of captured black and white stones.
This section includes the JavaScript functions for handling stone clicks, placing stones, capturing stones, updating the board, and initializing the game. The functions manage the game logic and update the UI accordingly.