repl.it
@argthe1st/

Bot tests

Python

No description

fork
loading
Files
  • main.py
  • setup.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from setup import *

t = Tournament('blah')
t.add_player(Player('Bob'))
t.add_player(Player('Joe'))
t.add_player(Player('XD'))
t.add_team(Team('Team', t.rtn_player('Bob')))
t.add_team(Team('Teeam', t.rtn_player('Joe')))
t.add_team(Team('Teeeam', t.rtn_player('XD')))
t.players[1].score = 50
t.refresh_leaderboards()
print(t.rtn_player('Bob'))
print(t.top_players)
print(t.players)
print(t.final_leaderboard)
?