Browse Source

(Dec 2021) Update for NHL94 (again!)

dec-2021
bertieb 2 years ago
parent
commit
fa4f0165a8
3 changed files with 35 additions and 21 deletions
  1. +6
    -6
      subs.txt
  2. +3
    -3
      teampicker.py
  3. +26
    -12
      teams.txt

+ 6
- 6
subs.txt View File

@@ -1,8 +1,8 @@
rarestmonkey
etho8282
costello_ costello_
pandacat42
mattgamerguy666
ksyme99
idiotictendencies
maothecat
burgiuk burgiuk
rarestmonkey
maothecat
idiotictendencies
mattgamerguy666
pandacat42

+ 3
- 3
teampicker.py View File

@@ -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))


+ 26
- 12
teams.txt View File

@@ -1,12 +1,26 @@
Australia
England
Holland
India
Kenya
New Zealand
Pakistan
South Africa
Sri Lanka
UAE
Zimbabwe
West Indies
Anaheim Mighty Ducks
Boston Bruins
Buffalo Sabres
Calgary Flames
Chicago Blackhawks
Dallas Stars
Detroit Red Wings
Edmonton Oilers
Florida Panthers
Hartford Whalers
Los Angeles Kings
Montreal Canadiens
New Jersey Devils
New York Islanders
New York Rangers
Ottawa Senators
Philadelphia Flyers
Pittsburgh Penguins
Quebec Nordiques
San Jose Sharks
St. Louis Blues
Tampa Bay Lightning
Toronto Maple Leafs
Vancouver Canucks
Washington Capitals
Winnipeg Jets

Loading…
Cancel
Save