<commit_before><!DOCTYPE html>
<html>
<head>
    <title>Kick-Pow</title>
    <meta charset="UTF-8">
    <meta name="description" content="">
    <meta name="keywords" content="">
</head>
<body>
    <script src="js/pixi-dev.js"></script>
    <script src="js/aliases.js"></script>
    <script src="js/helpers.js"></script>
    <script src="js/keyboard.js"></script>
    <script type="text/javascript">
    </script>
</body>
</html><commit_msg>Added tiling for images and scrolling of background<commit_after><!DOCTYPE html>
<html>
<head>
    <title>Corre corr por el boulevar</title>
    <meta charset="UTF-8">
    <meta name="description" content="">
    <meta name="keywords" content="">
</head>
<body>
    <script src="js/pixi-dev.js"></script>
    <script src="js/aliases.js"></script>
    <script src="js/helpers.js"></script>
    <script src="js/keyboard.js"></script>
    <script type="text/javascript">
        var stage = new Container();
        var renderer = autoDetectRenderer(512, 384);
        var state = play;
        var farTexture, midTexture,far, mid;
        
        document.body.appendChild(renderer.view);
        
        
        //Add texture
        loader.add("images/bg-far.png").add("images/bg-mid.png").load(setup);
        
        function setup(){
            farTexture = loader.resources["images/bg-far.png"].texture;
            far = new PIXI.extras.TilingSprite(farTexture, 512, 256);
            
            far.tilePosition.x = 0;
            far.tilePosition.y = 0;
            
            stage.addChild(far);
            
            midTexture = loader.resources["images/bg-mid.png"].texture;
            mid = new PIXI.extras.TilingSprite(midTexture, 512, 256);
            
            mid.position.x = 0;
            mid.position.y = 128;
            
            mid.tilePosition.x = 0;
            mid.tilePosition.y = 0;
            
            stage.addChild(mid);          
            
            gameloop();
            
        }
        
        function gameloop(){
            
            requestAnimationFrame(gameloop);
            
            //Update game state
            state();           
            
        }
        
        function play(){
            far.tilePosition.x -=0.128;
            mid.tilePosition.x -= 0.64;
            renderer.render(stage);
        }
    </script>
</body>
</html>
{'fraction_non_alphanumeric': 0.14694736842105263, 'fraction_numerical': 0.014736842105263158, 'mean_word_length': 1.727898966704937, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, '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': '2514637', 'n_tokens_mistral': 742, 'n_tokens_neox': 701, 'n_words': 130}