Method: Board::ConnectNChecker#check_vertical

Defined in:
lib/command_four/board.rb

#check_verticalObject



106
107
108
109
110
# File 'lib/command_four/board.rb', line 106

def check_vertical
  @winning_cells = []
  total_count = get_up_count + get_down_count
  total_count >= @connect_n
end