src/games/snakeGame/Objects/snakeObject.js
/**
     * add one more cell
     * @param currDirection
     */
add one more cell
@param currDirection
add one more cell @param currDirection
addSnakeCell() {
        const newCell = new SnakeCell(this.ctx, this.box,this.box,this.mouthX , this.mouthY);
        this.snakeCellArray.unshift(newCell)
    }
addSnakeCell ( ) { const newCell = new SnakeCell ( this . ctx , this . box , this . box , this . mouthX , this . mouthY ) ; this . snakeCellArray . unshift ( newCell ) }
add one more cell
 @param currDirection
add one more cell @param currDirection