isCoordInTail(x, y) {
		for (let coord of this.tail) {
			if (coord[0] == x && coord[1] == y) {
				return true;
			}
		}
		return false;
	}
/*
     * Name: isCoordInTail
     * Description: Checks if a coordinate is within the Snake's tail
     * Return: True if it is, otherwise false
    */
isCoordInTail
Description: Checks if a coordinate is within the Snake's tail
Return: True if it is, otherwise false
isCoordInTail Description : Checks if a coordinate is within the Snake ' s tail Return : True if it is otherwise false
isCoordInTail(x, y) {
		for (let coord of this.tail) {
			if (coord[0] == x && coord[1] == y) {
				return true;
			}
		}
		return false;
	}
isCoordInTail ( x , y ) { for ( let coord of this . tail ) { if ( coord [ 0 ] == x && coord [ 1 ] == y ) { return true ; } } return false ; }
Name: isCoordInTail
 Description: Checks if a coordinate is within the Snake's tail
 Return: True if it is, otherwise false
Name : isCoordInTail Description : Checks if a coordinate is within the Snake ' s tail Return : True if it is otherwise false