AI scan for win, documentation, play history for future 'undo' feature