remove proto snake_main.py
This commit is contained in:
parent
5d4366c200
commit
36dfed1ce5
|
@ -1,11 +0,0 @@
|
|||
from snake import Snake
|
||||
|
||||
snake = Snake()
|
||||
while True:
|
||||
for i in snake.render():
|
||||
print(i)
|
||||
print(snake.gamestate)
|
||||
snake.move(input("choose a move: "))
|
||||
if snake.gamestate == 'gameover':
|
||||
exit(0)
|
||||
|
Loading…
Reference in New Issue