import Tournament # Player tests PLA = Player('John', 'Sheridan') PLB = Player('Jeffrey', 'Sinclair') print PLA PLA.long_report() print 'PLA.game_points() : ', PLA.game_points() print 'PLA.match_points() : ', PLA.match_points() print 'PLA.game_win_percent() : ', PLA.game_win_percent() print 'PLA.match_win_percent() : ', PLA.match_win_percent() print 'PLA.opp_match_win_percent() : ', PLA.opp_match_win_percent() print 'PLA.opp_game_win_percent() : ', PLA.opp_game_win_percent() print 'PLA.won_most_recent() : ', PLA.won_most_recent() print 'PLA.set_status() (BAD) : ', PLA.set_status('badvalue') PLA.set_status('drop') print 'PLA.set_status result : ', PLA.status # respawn player A PLA = Player('John', 'Sheridan') # Match report PLA.record_match(PLB, 2, 1) PLB.record_match(PLA, 1, 2) print 'After match report (2-1 in favor of PLA):' print PLA