Exemplo n.º 1
0
 def __init__(self):
     Game.__init__(self)
     self.set_background(color=(255, 255, 255))
     self.set_title('Tank AI')
     titleicon = String(message="Tank AI", fontSize=40, color=(50, 50, 50))
     title = Stationary(sprite=titleicon)
     title.set_position((660, 10))
     title.draw()
Exemplo n.º 2
0
 def __init__(self):
     Game.__init__(self)
     self.set_background(color=(40, 40, 80))
     self.set_title('pybotwar')
     titleicon = String(message="pybotwar", fontSize=32)
     title = Stationary(sprite=titleicon)
     title.set_position((660, 10))
     title.draw()
Exemplo n.º 3
0
 def __init__(self):
     Game.__init__(self)
     self.set_background(color=(40, 40, 80))
     self.set_title('pybotwar')
     titleicon = String(message="pybotwar", fontSize=32)
     title = Stationary(sprite=titleicon)
     title.set_position((660, 10))
     title.draw()
Exemplo n.º 4
0
 def __init__(self):
     self._in_test = 0
     Game.__init__(self)