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