Compare commits

...

1 Ревизии

Автор SHA1 Съобщение Дата
  bertieb 5aa5170d10 Update for March 2021 Sub Crown (Rugby WC95) преди 3 години
променени са 3 файла, в които са добавени 39 реда и са изтрити 35 реда
  1. +5
    -5
      subs.txt
  2. +4
    -4
      teampicker.py
  3. +30
    -26
      teams.txt

+ 5
- 5
subs.txt Целия файл

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

+ 4
- 4
teampicker.py Целия файл

@@ -4,7 +4,7 @@
#
# Two files provided:
# - subs.txt -- 8 subscribers
# - teams.txt -- 26 teams
# - teams.txt -- 30 teams
#
# Pseudocode:
# Split screen in 1:3
@@ -41,7 +41,7 @@ RED = (186, 20, 31)
PURPLE = (121, 35, 158)

screen = pygame.display.set_mode(SIZE)
pygame.display.set_caption("Sub Crown Nov 2020 Team Picker")
pygame.display.set_caption("Sub Crown Mar 2021 Team Picker")

# Set up team text positioning references
#
@@ -56,7 +56,7 @@ ROWHEIGHT = int((HEIGHT-ROWSTART)/10)
TEAMSFILE = "teams.txt"

TEAMNUMCOLS = 3
TEAMNUMROWS = 9
TEAMNUMROWS = 10

TEAMCOLS = []
TEAMROWS = []
@@ -73,7 +73,7 @@ SUBSFILE = "subs.txt"
SUBS = []

SUBNUMROWS = 8
SUBROWHEIGHT = int((HEIGHT-ROWSTART)/9)
SUBROWHEIGHT = int((HEIGHT-ROWSTART)/SUBNUMROWS)
SUBROWS = []

for i in range(SUBNUMROWS):


+ 30
- 26
teams.txt Целия файл

@@ -1,26 +1,30 @@
Anaheim
Boston
Buffalo
Calgary
Chicago
Dallas
Detroit
Edmonton
Florida
Hartford
Los Angeles
Montreal
New Jersey
NY Islanders
NY Rangers
Ottawa
Philadelphia
Pittsburgh
Quebec
San Jose
St Louis
Tampa Bay
Toronto
Vancouver
Washington
Winnipeg
Argentina
Australia
Canada
Czech R
England
Fiji
France
Germany
Ireland
Italy
Ivory Coast
Japan
Latvia
Morocco
Netherlands
Namibia
New Zealand
Portugal
Romania
Russia
Scotland
South Africa
Spain
Sweden
Tonga
Uruguay
USA
Wales
W Samoa
Zimbabwe

Зареждане…
Отказ
Запис