伊地知ニジカ放送局だぬ゛ん゛. https://www.youtube.com/@deerjika
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

othello.py 409 B

123456789101112131415161718192021222324
  1. import pygame
  2. from pygame.locals import *
  3. import sys
  4. from common_const import *
  5. class Othello:
  6. # 盤の色
  7. BOARD_COLOUR: tuple = (0, 128, 0)
  8. def __init__ (
  9. self,
  10. screen: pygame.Surface) \
  11. -> None:
  12. self.screen = screen
  13. # オセロ中?
  14. self.othello_mode = False
  15. def redraw (self) -> None:
  16. if self.othello_mode:
  17. pass