From e5a8bccd570f6e3fce9a771734ca76112303c168 Mon Sep 17 00:00:00 2001 From: AlexCami1902 Date: Mon, 19 May 2025 16:43:09 +1000 Subject: [PATCH] Update inputs.py Added coin toss page for clearer explanation of what is going on. The input file needs to send to the new coinflip.py file, the coinflip.py file needs to send to the main.py file to start the match as well as interacting with the shared.py file. Signed-off-by: AlexCami1902 --- inputs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inputs.py b/inputs.py index 260ce2e..268fb6a 100644 --- a/inputs.py +++ b/inputs.py @@ -20,7 +20,7 @@ # Temporary smaller screen for UI (adjust as needed) screen = pygame.display.set_mode([600, 500]) -pygame.display.set_caption("Team Input and Colour Picker") +pygame.display.set_caption("Coin Toss") clock = pygame.time.Clock() base_font = pygame.font.Font("fonts/PublicSans-Bold.ttf", 24) @@ -129,7 +129,7 @@ def submit_form(): return else: varpass(home_team, away_team, match_location) - import main + import coinflip # Function to draw text def draw_text(text, font, colour, surface, x, y):