added rival turn logic