<commit_before>"""
conway.py
Author: <your name here>
Credit: <list sources used, if any>
Assignment:
Write and submit a program that plays Conway's Game of Life, per 
https://github.com/HHS-IntroProgramming/Conway-Life
"""<commit_msg>Updated from Brython Server: 10/15/2015 2:53:59 PM<commit_after>"""
conway.py
Author: <your name here>
Credit: <list sources used, if any>
Assignment:
Write and submit a program that plays Conway's Game of Life, per 
https://github.com/HHS-IntroProgramming/Conway-Life
"""

from ggame import App, RectangleAsset, ImageAsset, Sprite, LineStyle, Color, Frame

class Cubey(Sprite):
    def __init__(self, position):

class Conway(App):
    def __init__(self, width, height):
        super().__init__(width, height)
        life = Color(0xeeff00, 1.0)
        norm = Color(0x872657, 1.0)
        whiwhi = Color(0xFFFFFF, 1.0)
        lifeline = LineStyle (1, life)
        repline = LineStyle (1, norm)
        whiteline = LineStyle (1, whiwhi)
        deadark = RectangleAsset(5, 5, whiteline, whiwhi)

    def step(self):
        for cw in self.getSpritesbyClass(Cubey):
            cw.step()


myapp = Conway()
myapp.run()

{'fraction_non_alphanumeric': 0.11840968020743302, 'fraction_numerical': 0.03025064822817632, 'mean_word_length': 3.5234375, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '552339', 'n_tokens_mistral': 420, 'n_tokens_neox': 395, 'n_words': 117}