def won? WIN_COMBINATIONS.each do |wins| if wins.all?{|win_nums| @board[win_nums] = "X"} wins elsif wins.all?{|