2. Python Game Development in Hindi - Event Catching
2. Python Game Development in Hindi - Event Catching
Code :
import pygame
pygame.init()
gameWindow = pygame.display.set_mode((800,600))
pygame.display.set_caption('Snake
Game')
pygame.display.update()
while True:
for event in pygame.event.get():
print(event)
pygame.quit()
quit()
YouTube :
0 Comments