gomoku game, HTML5 canvas