gainWeight() {
        /*
         * 1. Assign new value for snake_tile_size
         * 2. Re-calculate snake body tiles' positions based on the new tile size
         */
        this.weight_incre_acc += 1
        if (this.weight_incre_acc >= this.weightIncrementAccumulatedTo()) {
            this.snake_tile_size++;
            this.weight_incre_acc = 0
            this.snake_body = this.bodySizeIncrease();
        }
    }
/**
     * Signal that snake has gained some weight to re-calculate snake body accordingly
     */
Signal that snake has gained some weight to re-calculate snake body accordingly
Signal that snake has gained some weight to re - calculate snake body accordingly
gainWeight() {
        this.weight_incre_acc += 1
        if (this.weight_incre_acc >= this.weightIncrementAccumulatedTo()) {
            this.snake_tile_size++;
            this.weight_incre_acc = 0
            this.snake_body = this.bodySizeIncrease();
        }
    }
gainWeight ( ) { this . weight_incre_acc += 1 if ( this . weight_incre_acc >= this . weightIncrementAccumulatedTo ( ) ) { this . snake_tile_size ++ ; this . weight_incre_acc = 0 this . snake_body = this . bodySizeIncrease ( ) ; } }
Signal that snake has gained some weight to re-calculate snake body accordingly
Signal that snake has gained some weight to re - calculate snake body accordingly
/*
         * 1. Assign new value for snake_tile_size
         * 2. Re-calculate snake body tiles' positions based on the new tile size
         */