<commit_before>from ggame import App, RectangleAsset, ImageAsset, Sprite, LineStyle, Color, Frame

class Tank1(Sprite):
    asset = ImageAsset("images/tanks_by_fvsj-d6if9gt.png", Frame(100,550,350,160), 1, 'vertical')
    def __init__(self, position):
        super().__init__(Tank.asset, position)
        self.vx=0
        self.vy=0
        self.vr=0
        self.scale=.25
        #TankGame.listenKeyEvent("keydown", "left arrow", self.moveleft)
        print("test")
        
    def step(self):
        self.x += self.vx
        self.y += self.vy
        self.rotation += self.vr

    """def moveleft(self,event):
        self.vx+=.5"""
        
class Tank2(Sprite):
    asset = ImageAsset("images/tanks_by_fvsj-d6if9gt.png", Frame(100,550,350,160), 1, 'vertical')
    def __init__(self, position):
        super().__init__(Tank.asset, position)
        self.vx=0
        self.vy=0
        self.vr=0
        self.scale=.25
        #TankGame.listenKeyEvent("keydown", "left arrow", self.moveleft)
        print("test")
        
    def step(self):
        self.x += self.vx
        self.y += self.vy
        self.rotation += self.vr<commit_msg>Updated from Brython Server: January 4, 2016 2:15:11 PM EST<commit_after>from ggame import App, RectangleAsset, ImageAsset, Sprite, LineStyle, Color, Frame

class Tank1(Sprite):
    asset = ImageAsset("images/tanks_by_fvsj-d6if9gt.png", Frame(100,550,350,160), 1, 'vertical')
    def __init__(self, position):
        super().__init__(Tank1.asset, position)
        self.vx=0
        self.vy=0
        self.vr=0
        self.scale=.25
        #TankGame.listenKeyEvent("keydown", "left arrow", self.moveleft)
        print("test")
        
    def step(self):
        self.x += self.vx
        self.y += self.vy
        self.rotation += self.vr

    """def moveleft(self,event):
        self.vx+=.5"""
        
class Tank2(Sprite):
    asset = ImageAsset("images/tanks_by_fvsj-d6if9gt.png", Frame(100,550,350,160), 1, 'vertical')
    def __init__(self, position):
        super().__init__(Tank2.asset, position)
        self.vx=0
        self.vy=0
        self.vr=0
        self.scale=.25
        #TankGame.listenKeyEvent("keydown", "left arrow", self.moveleft)
        print("test")
        
    def step(self):
        self.x += self.vx
        self.y += self.vy
        self.rotation += self.vr
{'fraction_non_alphanumeric': 0.14249146757679182, 'fraction_numerical': 0.041808873720136516, 'mean_word_length': 2.388728323699422, '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': '4237639', 'n_tokens_mistral': 854, 'n_tokens_neox': 788, 'n_words': 150}