Forces computer to move king if it is checked