return rowIdx;
}
private void checkForGameEnd(int colIdx, int rowIdx) {
Player player = getCellFast(colIdx, rowIdx);
// Does the latest drop creates an horizontal line ?
if (getHorizontalLength(colIdx, rowIdx) >= LENGTH_TO_WIN) {
endGameListener.victory(player);
// Does the latest drop creates a vertical line ?