renamed chessAttrs.vars > chessAttrs.gameState