Browse Source

modified a bit

othello
みてるぞ 5 months ago
parent
commit
6196d5f2ed
1 changed files with 6 additions and 7 deletions
  1. +6
    -7
      main.py

+ 6
- 7
main.py View File

@@ -22,18 +22,17 @@ class Main:
@classmethod
def main (cls, argv: list, argc: int) -> None:
mode = Mode.NIZIKA
if argc > 0:
match argv[0]:
case '-g':
mode = Mode.GOATOH
match (argc > 0) and argv[0]:
case '-g':
mode = Mode.GOATOH

case '-w':
mode = Mode.DOUBLE
case '-w':
mode = Mode.DOUBLE

goatoh_mode = mode == Mode.GOATOH
double_mode = mode == Mode.DOUBLE

print (goatoh_mode)
print (mode)

pygame.init ()
screen: pygame.Surface = pygame.display.set_mode ((1024, 768))


Loading…
Cancel
Save