def round_menu(data, war, campaign, rnd): while True: print(f"\n=== Round {rnd['number']} ===") print("1. Enter choices and pairing") print("2. Enter battle results") print("3. Finish round") print("4. Edit/Delete round") print("0. Back") choice = input("> ").strip() if choice == "1": enter_choices(data, war, campaign, rnd) elif choice == "2": enter_battle_results(data, war, campaign, rnd) elif choice == "0": return def enter_choices(data, war, campaign, rnd): print("Entering choices (placeholder)") # later: # - list campaign participants # - input primary / secondary sector # - store in rnd["choices"] def enter_battle_results(data, war, campaign, rnd): print("Entering battle results (placeholder)") # later: # - list battles # - select winner # - apply scoring