cpu now blocks the player when it is about to lose