add code to GameBoard

Signed-off-by: owwlo <owwlo@163.com>