|
|
@@ -21,7 +21,7 @@ import random |
|
|
|
import pygame |
|
|
|
|
|
|
|
pygame.init() |
|
|
|
random.seed("bertieb") |
|
|
|
random.seed("bertiebdec2021") |
|
|
|
|
|
|
|
HIGHLIGHTEVENT = pygame.USEREVENT + 1 # user specified event |
|
|
|
CLEAREVENT = pygame.USEREVENT + 2 # user specified event |
|
|
@@ -31,7 +31,7 @@ SIZE = WIDTH, HEIGHT = 1920, 1080 |
|
|
|
|
|
|
|
BGIMG = pygame.image.load("sub_crown_bg_2.png") |
|
|
|
|
|
|
|
FONT = pygame.font.SysFont("Fetamont", 65) |
|
|
|
FONT = pygame.font.SysFont("Fetamont", 40) |
|
|
|
SUBFONTHEIGHT = 45 |
|
|
|
SUBFONT = pygame.font.SysFont("Fetamont", SUBFONTHEIGHT) |
|
|
|
OFFWHITE = (224, 224, 224) |
|
|
@@ -50,7 +50,7 @@ pygame.display.set_caption("Sub Crown October 2021 Team Picker") |
|
|
|
TEAMSFILE = "teams.txt" |
|
|
|
|
|
|
|
TEAMNUMCOLS = 2 |
|
|
|
TEAMNUMROWS = 12 |
|
|
|
TEAMNUMROWS = 18 |
|
|
|
|
|
|
|
# COLSTART = int(WIDTH/TEAMNUMCOLS) |
|
|
|
COLSTART = int(WIDTH/(TEAMNUMCOLS+1)) |
|
|
|