Using if and else statements in triple x game