after the king dies, how does the computer choose which prince to be the king . Is it random ?