GUVI
Back

screen = pygame.display.get-surface('get')

Created 2 years ago
51 Views
1 Comments
Vrajpatel
@Vrajpatel
Vrajpatel
@VrajpatelProfile is locked. Login
screen = pygame.display.get-surface('get') i write same code as shown in video but getting this upper error here is a code : import pygame, sys , os from pygame.locals import * red = (255, 0, 0) # Intitalize Pygame pygame.init() #set up Window window = pygame.display.set_mode((1000, 600)) pygame.display.set_caption('slither.eat- The Snake Game') # setup Drawing Surface screen = pygame.display.get-surface('get') screen.fill(red) pygame.display(get) pygame.display.set_caption("Sanke") pygame.display.flip() count = 0 while True: print("Sliter.eat - The Snake Game") pass
Comments
Please login to comment.
 
Powered by habitate.io Habitate