Index: bunco.py ================================================================== --- bunco.py +++ bunco.py @@ -330,30 +330,24 @@ # Go until one of the head table teams reaches 21 pts while max(self.tables[0].team1_score, self.tables[0].team2_score) < 21: self.tick() log("all", "BUNCO!! A team at the Head Table has hit 21 points.") - - print("\n\n\t\tB U N C O !!!\n\n") # Finish up scoring for any players that have unscored rolls for player in self.players: if player.current_roll: - print(f"Finishing up: {player}") log(player, f"{player} finishing up [their] turn") while player.current_roll: player.tick() self.increment_tick() # Settle ties at each table by doing a roll-off as many times as needed for table in self.tables: while table.team1_score == table.team2_score: - print(f"Roll off! {table}") log('all', f"{table} having a roll-off to resolve a tie") table.roll_off() - - self.print_status() log_db = sqlite3.connect("bunco.sqlite") log_dbc = log_db.cursor() def run_query(*args): ADDED bunco_app.py Index: bunco_app.py ================================================================== --- bunco_app.py +++ bunco_app.py @@ -0,0 +1,8 @@ +import bunco + +g = bunco.Game("players.csv") + +g.play_one_round() +print("\n\n\t\tB U N C O !!!\n\n") +g.print_status() +