Ejemplo n.º 1
0
 def tick(self):
     i = self.top
     for t in Team.from_game(self.game):
         self.screen.addstr(i, self.left, t.emoji)
         self.screen.addstr(i, self.left + 2, t.name)
         self.screen.addstr(i, self.left + 27, str(int(t.odds * 100)) + "%")
         i = i + 1
Ejemplo n.º 2
0
 def tick(self):
     i = self.top
     for t in Team.from_game(self.game):
         self.screen.addstr(i, self.left, t.emoji)
         self.screen.addstr(i, self.left + 2, t.name)
         self.screen.addstr(i, self.left + 29, str(t.score))
         i = i + 1