Open ghost opened 3 years ago
pygame.init()
white = (255, 255, 255) black = (0, 0, 0) red = (255, 0, 0)
dis = pygame.display.set_mode((800, 600)) pygame.display.set_caption('Snake Game by Edureka')
game_over = False
x1 = 300 y1 = 300
x1_change = 0 y1_change = 0
clock = pygame.time.Clock()
please provide the attachment of the result.
pygame.init()
white = (255, 255, 255) black = (0, 0, 0) red = (255, 0, 0)
dis = pygame.display.set_mode((800, 600)) pygame.display.set_caption('Snake Game by Edureka')
game_over = False
x1 = 300 y1 = 300
x1_change = 0
y1_change = 0
clock = pygame.time.Clock()
please provide the attachment of the result.