diff options
Diffstat (limited to 'snake.py')
| -rwxr-xr-x | snake.py | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -168,14 +168,3 @@ class Snake: pygame.display.flip() clock.tick(self.fps) return(self.score) - - -game=Snake() - -def event_handler(game): - if game.snake[0][0]==10: - game.direction=6 - -for i in range(0,10): - score=game.run() - print("Game ended with "+str(score))
\ No newline at end of file |
