伊地知ニジカ放送局だぬ゛ん゛. 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.

main.py 492 B

12345678910111213141516171819202122232425
  1. import pygame
  2. from pygame.locals import *
  3. import sys
  4. class Main:
  5. @classmethod
  6. def main (cls) -> None:
  7. pygame.init ()
  8. screen = pygame.display.set_mode ((640, 480))
  9. while (True):
  10. screen.fill ((255, 255, 255))
  11. pygame.display.update ()
  12. for event in pygame.event.get ():
  13. if event.type == QUIT:
  14. pygame.quit ()
  15. sys.exit ()
  16. if __name__ == '__main__':
  17. Main.main ()