modify checkWins, attackComputer, defenseComputer functions