so i wanted to make a game...and pygame doesn't seem to be working for me. I get this error, "
AttributeError: module 'pygame' has no attribute 'init'"
and ive tried every other forum and cant find help...my game is called roll and I'm using the correct pygame. What do i do?
import pygame
pygame.init()
gamedisplay = pygame.display.set_mode((800,600))
pygame.display.set_caption('roll.io')
clock = pygame.time.Clock()
dead = False
while not dead:
for event in pygame.event.get():
if event.type == pygame.QUIT:
dead = True
print(event)
pygame.display.updat()
clock.tick(30)
pygame.quit()
quit()