Share your repls and programming experiences

← Back to all posts
Fun variation of 'Snake'
mserrano258 (21)

After hours of coding and hours more of playtesting, I have completed it! Introducing SNAKE with a twist, where you are not the only snake on the screen...
Share your high score in the comments section to get mad internet respect, and try to achieve all 4 secret endings!

Commentshotnewtop
bigchungusmc (75)

I have a bug: I run the code and I enter in the parameters. My parameters were 200-200-5. The bug occurred when I started hit space to start. I was greeted with a white screen. Is there any way for me to bypass this bug. otherwise please fix this.
Btw this is a great concept.

mserrano258 (21)

@bigchungusmc As you choose larger and larger grid sizes, the objects decrease in size until you can hardly see them anymore. Try running 150-150-5 and you'll see that everything is basically a speck. 200-200-5 would be even smaller. That being said, I'm adding a failsafe to prevent the grid from being any larger than a certain point to make sure this doesn't happen again. Thanks for spotting this, and thanks for the complement!
(Edit: now you can't go past 180 rows and 250 columns. This makes everything about a pixel large, but still visible)

LuisRo1 (1)

I got a high score of 52, and achieved the gamer ending. Beat that Serrano

mserrano258 (21)

@LuisRo1 quiet. Playtesting gave you an unfair advantage. Plus, I'll have you know that I've already gotten way past 50. Definitely not by manipulating the grid size...

mserrano258 (21)

@IndyCarter Nice! glad to see people are still playing this game!

LouisGHB (0)

the new game you have made twist a snake I think well the space bar button won't work

mserrano258 (21)

@LouisGHB thanks for the feedback. I'll have a look at the code and see if anything is wrong

LouisGHB (0)

@mserrano258 thank you my mistake something went wrong for my computer do you know anybody that could help me learn python just started programming a week ago.
kind regards

mserrano258 (21)

@LouisGHB that's fine, stuff like that happens sometimes. For learning python, I would use repl.it/student. Just click on the tab that says learn/teach, and there are many free programming classes available including one for python. I used this along with snakify.org, which has really comprehensive information, to learn python.
Best of luck!

LouisGHB (0)

@mserrano258 Thank you so much. Looking forward to learn new coding.

mserrano258 (21)

@LouisGHB it is a great journey. Just don't give up even when a problem seems impossible. Solving these problems really help you grown in leaps and bounds. It was my pleasure!
Best Regards

SwaroopBappanad (11)

Hey, I tried playing this, but when it asks me for the fps and I enter it, It doesn't bring me to the game

mserrano258 (21)

@SwaroopBappanad have you tried clicking on the white screen above the black one? In this case, you need to enter the inputs on the black screen, then use the white screen to play the game. Let me know if you still have any trouble, and let me know what you think of the game!

mserrano258 (21)

@SwaroopBappanad That's great to hear, thank you!