pygame 설치 필요 pip3 install pygame import pygame import random class Player(pygame.sprite.Sprite): def __init__(self): super(Player,self).__init__() self.surface=pygame.Surface((75,25)) self.surface.fill((0,0,0)) self.rect=self.surface.get_rect() def update(self,key_pressed): if key_pressed[pygame.K_LEFT]: self.rect.move_ip(-5,0) if key_pressed[pygame.K_RIGHT]: self.rect.move_ip(+5,0) if key_press..