Fixed position/move handling, putting it in chess.h