Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def main():
- speed = input()
- clock = pygame.time.Clock()
- while GameOn:
- clock.tick(speed)
- .
- .
- update_screen(snake, fruit ...)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement