예제 #1
0
파일: fruit.py 프로젝트: hdinh/battlesnake
    def __init__(self, global_actor):
        GameActor.__init__(self, global_actor)

        self.current_tick = 0
        self.num_fruits = 0
예제 #2
0
파일: score.py 프로젝트: hdinh/battlesnake
 def __init__(self, global_actor):
     GameActor.__init__(self, global_actor)
예제 #3
0
    def __init__(self, global_actor):
        GameActor.__init__(self, global_actor)

        self.current_tick = 0
        self.num_mushrooms = 0
예제 #4
0
    def __init__(self, global_actor):
        GameActor.__init__(self, global_actor)

        self.current_tick = 0
        self.num_headbangers = 0
예제 #5
0
파일: snake.py 프로젝트: hdinh/battlesnake
 def __init__(self, global_actor, board):
     GameActor.__init__(self, global_actor)
     self.board = board