<commit_before>class board:
    #Outer tiles will be filled with impassable terrain
    def __init__(self,width,height):
        self.dimensions = [width,height]
        self.layout = []
        for x in range(width):
            self.layout.append([1] + ([0] * (height-2)) + [1])
        for y in range(height):
            self.layout[0][y] = 1
            self.layout[height-1][y] = 1<commit_msg>Added tile class<commit_after>class tile:
    #Represents board tiles
    def __init__(self,solid,ident,ch=" "):
        self.isSolid = solid
        self.pid = ident
        self.tile = ch

    #Get various attributes
    def isPassable():
        return self.isSolid
    def getPid():
        return self.pid
    def getTile():
        return self.tile

class board:
    #Outer tiles will be filled with impassable terrain
    def __init__(self,width,height):
        self.dimensions = [width,height]
        self.layout = []

        #Tile definitions
        empty=tile(False, 0, " ")
        outerWall=tile(True, 1, "#")
        innerWall=tile(True, 2, "#")

        #Populate outer wall
        for x in range(width):
            self.layout.append([outerWall] + ([empty] * (height-2)) + [outerWall])
        for y in range(height):
            self.layout[0][y] = outerWall
            self.layout[height-1][y] = outerWall
{'fraction_non_alphanumeric': 0.12575301204819278, 'fraction_numerical': 0.010542168674698794, 'mean_word_length': 2.1947115384615383, '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': '3444956', 'n_tokens_mistral': 412, 'n_tokens_neox': 399, 'n_words': 102}