比较提交

...

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

正在加载...
取消
保存