yupyup. checkDefeat and checkVictory are almost done