var some_var = GoBoard(container_id, length, board_size);
container_id: an element container with with a unique
length: render the element container into a square of length
board_size: render the go board of grid
board_size. Must be an integer between
<script src="path/to/gojs.js"></script>in the
headelement, or right before the
Place an empty
divcontainer with a unique
divelement is preferred, but other elements such as
pmay be used.
Note: If the container is not empty, gojs will empty it!
Render the go board via
var go_board = GoBoard("go_board", 500, 19)
Click here to view the demo
Raphael JS is primarily used to render the Go board.