_checkValidShipSize(initLetter, initNum, finalLetter, finalNum){
		if(finalNum - initNum === this.size - 1
			|| finalLetter.charCodeAt(0) - initLetter.charCodeAt(0) === this.size - 1){
			return this._checkValidDirection(initLetter, initNum, finalLetter, finalNum);
		}else{
			return false;
		}
	}
/* The user may put random position so we need to validate them.
	 * checking the initial and final position and subtract them we
	 * can tell if the ship is going to fill in that specific space. */
The user may put random position so we need to validate them.
checking the initial and final position and subtract them we
can tell if the ship is going to fill in that specific space.
The user may put random position so we need to validate them . checking the initial and final position and subtract them we can tell if the ship is going to fill in that specific space .
_checkValidShipSize(initLetter, initNum, finalLetter, finalNum){
		if(finalNum - initNum === this.size - 1
			|| finalLetter.charCodeAt(0) - initLetter.charCodeAt(0) === this.size - 1){
			return this._checkValidDirection(initLetter, initNum, finalLetter, finalNum);
		}else{
			return false;
		}
	}
_checkValidShipSize ( initLetter , initNum , finalLetter , finalNum ) { if ( finalNum - initNum === this . size - 1 || finalLetter . charCodeAt ( 0 ) - initLetter . charCodeAt ( 0 ) === this . size - 1 ) { return this . _checkValidDirection ( initLetter , initNum , finalLetter , finalNum ) ; } else { return false ; } }
The user may put random position so we need to validate them.
The user may put random position so we need to validate them .