win condition checking in debug info