[go-quiz] Go game quiz

Basic information

Description

The go-quiz player provides an interactive Go game quiz. It is built on top of Jan Prokop’s WGo.js library. The data format used by the player is SGF (Smart Game Format), the most popular format to store Go game records. You can easily find Go applications that export SGF text files.

RICH snippet format

> cut={top/right/bottom/left}
{SGF data}
  • cut={top/right/bottom/left}
    • The cut spaces against the full 19x19 game board.
  • {SGF data}
    • The game records for the quiz.

A few things about the SGF data:

  1. Starting color:
    • The starting color (black or white) is determined by the color of the move in the first child path of the root node.
  2. Game result:
    • When a path ends, the solution is either correct or incorrect.
    • If any comment starts with the word “correct” or “right” (case-insensitive), the solution is judged by whether the last move’s comment contains such a word.
    • Otherwise, it’s judged by the last move’s color:
      • If it’s the player’s color, the solution is considered correct.
      • Otherwise, it’s considered incorrect.
      • This is not 100% accurate, but without a clear indication in the comment, it’s our best guess.

Example

> cut=0/11/12/0
(;GM[1]FF[4]SZ[19]HA[0]KM[0]AB[bb][cb][db][bc][bd]AW[eb][cc][dc][fc][be][ce][de]C[Black to live.](;B[da]WV[];W[ba](;B[ad];W[ab]C[Wrong.])(;B[aa];W[ab];B[ac];W[aa]C[Wrong.])(;B[ab];W[ad]C[Wrong.])(;B[ac];W[aa]C[Wrong.]))(;B[ad]WV[];W[ab](;B[da];W[ba]C[Wrong.])(;B[ba];W[da]C[Wrong.])(;B[aa];W[ba];B[ca];W[aa]C[Wrong.])(;B[ca];W[aa]C[Wrong.]))(;B[aa];W[da];B[ca];W[ad];B[ac]C[Correct.]))
> cut=0/11/13/0
(;GM[1]FF[4]SZ[19]HA[0]KM[0]AB[bb][eb][ac][bc][cc][dc][ec]AW[ea][ab][db][fb][fc][ad][bd][cd][dd][ed][fd]C[Black to live.](;B[ca];W[da];B[aa];W[fa];B[cb]C[Correct.])(;B[cb]WV[];W[ca]C[Wrong; advantageous ko.])(;B[aa]WV[];W[ca];B[cb];W[da]C[Wrong.]))
0 comment Comment