Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
4

snake game

MatthewXia
MatthewXia

so lik i coded a snake game and ya

2 years ago

Voters

Comments

TopNew
3

Well made!

2 years ago
2
MatthewXia
MatthewXia

@FunnyLamma
ty :)

2 years ago
1

There is a few second delay though.

2 years ago
1
MatthewXia
MatthewXia

@FunnyLamma
ya, i shud try to change that

2 years ago
1
MatthewXia
MatthewXia

@FunnyLamma
this sorta kinda helps, just under the lines,
window=turtle.Screen()
window.title("Matthew's snake game!")
window.bgcolor("black")
window.setup(width=600, height=600)
window.tracer(0)

write in framerate = 500

hopefuly that works

2 years ago
1
SeamusDonahue
SeamusDonahue

the input lag is really annoying and sometimes kills me, but other than that it's really cool!

2 years ago
2
MatthewXia
MatthewXia

@SeamusDonahue
Sry for the input lag and thanks :) ill try to fix it

2 years ago
1
Srikar2008
Srikar2008

Wow, this is really good.
I found a glitch though
If you go the opposite way of what you just turned, the game resets
for ex., you go left, and then go right, it resets.
yea so anyway, cool project!

2 years ago
1
MatthewXia
MatthewXia

@Srikar2008
So kinda like I coded it so that there is a grid which the snake travels on. So basically it works like if you turn on the same row on the grid, the head overlaps the tail and it resets.

2 years ago
1
Srikar2008
Srikar2008

@MatthewXia
yeah I see now
Thanks!
hope you do amazing projects like this in the future!

2 years ago
Load more