store last move in-house instead of re-calling chess.history()