Share your repls and programming experiences

← Back to all posts
snake
ElizabethFiguer

The all time classic snake game we all know (and maybe love).
It's horrible but beautiful in a way idk.

Voters
6JAppleby
Comments
hotnewtop
6JAppleby

When I ran it I got an error:
File "main.py", line 23, in <module>
win.addch(food[0], food[1], '')
TypeError: expect bytes or str of length 1, or int, got a str of length 0

so try checking it!

ElizabethFiguer

@6JAppleby sorry for the bug I'll fix it right away!

ElizabethFiguer

@6JAppleby I tried to fix some issues is it ok now?

6JAppleby

@ElizabethFiguer Yep, all good, well done!