Share your repls and programming experiences

← Back to all posts
snake game... but you're the food 🍎
h
ykdojo (281)

So following my previous attempt at making a snake game on terminal with Python, I decided to make another snake game... where you're the food lol

So control the 🍎 and don't get eaten!

It's easy to die in this game, but it's actually possible to beat the snake and let it kill itself... See if you can do it 🐍

Comments
hotnewtop
CodingRedpanda (180)

@ykdojo

THE SNEKS SO MUCH FASTER THAN MEEEEEEEEEEEEEEEEEEEE

nice game tho lol, i dont make any many terminal games, so this is kewl

ykdojo (281)

@CodingRedpanda Thanks! I actually just made it a bit slower

FlaminHotValdez (442)

WHY IS IT SO FAST AAAAAAAAAAAAH And also why can't you make the food behave like a snake too-when you press an arrow you keep going in that direction. My left hand is getting sore from spamming WASD

YashasShah (60)

@FlaminHotValdez ye. @ykdojo like plz make the food invis for the snek. That would help. A lot

[deleted]

@YashasShah I made the food invisible, but the snake still follows you

[deleted]

@BuurmenTennus instead of this "APPLE = '🍎'", I did this, "APPLE = '🍎'"

RhinoRunner (840)

The intensity is real

LegendaryWolf (708)

I AM GOD IN IN THIS GAME -

LegendaryWolf (708)

Hi CS DOJo! yk. Im a fan of your youtube channel :)

LegendaryWolf (708)

ya really YK? if yes I subbed :) If you r real CS DOJO then record a vid about this and post it. My YT username is "I am DaKsHeSh". I'll be commenting once you post that :)

ykdojo (281)

@LegendaryWolf I’m actually thinking about doing that!

JaveMaster (2)

Wow, this showes me how much I can do here

NoThisIsntHenry (2)

Really cool game! I love how you took a simple game-like snake- and flipped it upside down!

LegendaryWolf (708)

Your screen says you use mac...

PikachuB2005 (7)

I'm on a chromebook

PikachuB2005 (7)

why does it matter anyway -_-

[deleted]

@BrandenBentley 🤷‍♂️ Idk

RahulChoubey1 (134)

I can't win because me a thicc noob :(

Whippingdot (573)

WHY CAN'T YOU RUN FASTER THAN THE SNAKE AAAAAAAA

ykdojo (281)

@Whippingdot haha I think you need to press your keys pretty fast, but feel free to tweak with the config variables too

Whippingdot (573)

i am trash at coding don't make fun of me lul @ykdojo

ykdojo (281)

@Whippingdot I just made it a bit slower!

zplusfour (892)

THAT'S CS DOJO OMG

KhShahid (9)

finally but i thinked it is too hard than i found aa trick and i won

phazrlazr (36)

the snake touched its tail but didn't die this is a scam

patelr (3)

I love it! it is the most amazing game I have every seen yet! 😃

LeviathanCoding (406)

I got 422 and the snake was size 26. Great job! The AI is amazing!

FloCal35 (504)

Dude, this is awesome

Brendan23 (139)

@ykdojo can you edit it so that when you get eaten the snake actually goes on top of the apple? this is what it is like right now.

ykdojo (281)

@Brendan23 okay I’ll fix it maybe in a few hours! Too bad there’s no way for you to send a pull request (I don’t think there is?)

FlaminHotValdez (442)

me: hang on a second THAT'S CS DOJO WAAAaaAAAaaaaAAA

ShanelZheng (0)

AGH THE SNAKE GOT SMARTER

ahmedo123454 (9)

but how did it get like that?