- add engdame state to local game - clean engine code - add endgame tests - fix tests - fix san checkmate symbol