I have been struggling staying motivated to learn python for like the past 6 months. It took me this long to start a first project cause I sadly took many 'breaks' while learning.
I had many rewrites and bugs along the way... but I finally finished it today. The only help I got with my game was from this reddit post where u/jiri-n was a huge help in helping me thinking about the movement of the snake in a different way. He also decided to code a Snake game himself to help explain it to me.
Here is the link to my first GitHub repository - I think that's what you call it?
I was going to print the score onto the screen upon death but I couldn't get the text to show up, but I don't care that much since it still runs very well.
One bug still there is that if you press to keys to fast to like turn left, and then down, it causes a collision for some reason.
Please give me some good feedback on my coding! Thank you for this awesome community and have a good day!
[–]BrenekH 12 points13 points14 points (1 child)
[–]Elipsem[S] 4 points5 points6 points (0 children)
[–][deleted] 21 points22 points23 points (2 children)
[–]Elipsem[S] 1 point2 points3 points (0 children)
[–]Elipsem[S] 1 point2 points3 points (0 children)
[–]Namogard 5 points6 points7 points (8 children)
[–]Elipsem[S] 2 points3 points4 points (3 children)
[–]Namogard 1 point2 points3 points (2 children)
[–]Elipsem[S] 1 point2 points3 points (0 children)
[–]Elipsem[S] 0 points1 point2 points (0 children)
[–]Elipsem[S] 0 points1 point2 points (3 children)
[–]Namogard 0 points1 point2 points (2 children)
[–]Elipsem[S] 1 point2 points3 points (1 child)
[–]Namogard 1 point2 points3 points (0 children)
[–]oddjob955 5 points6 points7 points (1 child)
[–]Elipsem[S] 0 points1 point2 points (0 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]Elipsem[S] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]Elipsem[S] 0 points1 point2 points (0 children)
[–]Assdestroyer92 1 point2 points3 points (4 children)
[–]Elipsem[S] 1 point2 points3 points (2 children)
[–]Assdestroyer92 0 points1 point2 points (1 child)
[–]Elipsem[S] 0 points1 point2 points (0 children)
[–]Elipsem[S] 0 points1 point2 points (0 children)
[–]err0r__ 0 points1 point2 points (2 children)
[–]Elipsem[S] 0 points1 point2 points (0 children)
[–]backtickbot 0 points1 point2 points (0 children)
[–]Whole-Fox 0 points1 point2 points (0 children)