Check Out My Snake Game In Python
h
Glare (225)

Took me a while to create this. Click on the game once and then use the arrow keys to move. Every time you eat an apple, your snake grows in length. If you hit the wall or if the head of your snake hits any part of the body, the game ends. Hope you guys enjoy!

You are viewing a single comment. View All
ZanderSlack1 (2)

I love the game and it's impressive to use Turtle to make Snake!
The only things I noticed were that if I try to make a U-turn too quickly, I end up inverting in on myself and dying :(

Glare (225)

@ZanderSlack1 Thanks for your support! Glad you like it :) By "u-turn", are you pressing the key that points at the opposite direction you are traveling in (for example, if you are going up, do you press down?)? If this is what you're doing, then I should add a feature that prevents that. Otherwise, please let me know and I'll find the bug! Thanks :)

ZanderSlack1 (2)

@Glare So if I was going upwards and wanted to go down, I'd hit left and then down. But doing so in rapid succession makes it seem like I was just pressing down to go inside myself.

Glare (225)

@ZanderSlack1 I think maybe that's because of the refresh rate? Let me see...

Glare (225)

@ZanderSlack1 I think what I would suggest is that you press the keys slower, and the U-turn will still work perfectly. If I adjust the refresh rate, the snake will be moving way too fast/slow. Sorry about that :(