<commit_before>define([], function(){

    function playerOutOfBound (box, direction){
        console.log(box, direction)
        if(direction == "left"){
            this.pos.x -= this.vel.x * 1.5;
            this.pos.y -= this.vel.y * 1.5;
            this.vel.x = 0;
            this.vel.x = 0;
        }
        if(direction == "right"){

            this.pos.x -= this.vel.x * 1.5;
            this.pos.y -= this.vel.y * 1.5;
            this.vel.x = 0;
            this.vel.x = 0;
        }
        if(direction == "up"){

            this.pos.x -= this.vel.x * 1.5;
            this.pos.y -= this.vel.y * 1.5;
            this.vel.y = 0;
            this.vel.x = 0;
        }
        if(direction == "down"){

            this.pos.x -= this.vel.x * 1.5;
            this.pos.y -= this.vel.y * 1.5;
            this.vel.y = 0;
            this.vel.x = 0;
        }
    }

    return playerOutOfBound;
})<commit_msg>other player collision test<commit_after>define([], function(){

    function playerOutOfBound (box, direction){
        console.log(box, direction)
        if(direction == "left"){
            this.pos.x -= this.vel.x * 1.5;
            this.pos.y -= this.vel.y * 1.5;
            this.vel.x = - this.vel.x * 0.5;
        }
        if(direction == "right"){

            this.pos.x -= this.vel.x * 1.5;
            this.pos.y -= this.vel.y * 1.5;
            this.vel.x = - this.vel.x * 0.5;
        }
        if(direction == "up"){

            this.pos.x -= this.vel.x * 1.5;
            this.pos.y -= this.vel.y * 1.5;
            this.vel.y = -this.vel.y * 0.5;
        }
        if(direction == "down"){

            this.pos.x -= this.vel.x * 1.5;
            this.pos.y -= this.vel.y * 1.5;
            this.vel.y = -this.vel.y * 0.5;
        }
    }

    return playerOutOfBound;
})
{'fraction_non_alphanumeric': 0.17640573318632854, 'fraction_numerical': 0.026460859977949284, 'mean_word_length': 1.1710526315789473, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3216821', 'n_tokens_mistral': 686, 'n_tokens_neox': 639, 'n_words': 115}