Skip to content
← Back to Community
🐍 snake 🐍
Profile icon
LorenzoCampos

Unicode character-based so it runs 'well' in repl.it. The first real use I've ever made of threading in python, feel free to comment on any improvements you would make.

Edit: meant to say Unicode not ASCII, thanks to @mfrancis33 for pointing it out!

Voters
Profile icon
OpheliaCallaway
Profile icon
magnusULTRA
Profile icon
ya751865
Profile icon
GaneshaGanesha
Profile icon
PETTERWAX036
Profile icon
Anisavimanu
Profile icon
Erfasya-Virdya1
Profile icon
Jalrux
Profile icon
H0M3
Profile icon
SebastianNarvae
Comments
hotnewtop
Profile icon
OldWizard209

Wow, making sNeK in a SNEK LANGUAGE. @LorenzoCampos

Pretty SNEKKY.....

Profile icon
ShivankChhaya

@OldWizard209 u snekky boi

Profile icon
Whippingdot
Profile icon
ShivankChhaya
Profile icon
nn10

yeh really sneky
@OldWizard209

Profile icon
G0RG3

@OldWizard209, that's snekky alright.

Profile icon
TheMaster7661

@OldWizard209 @ShivankChhaya @Whippingdot @nn10 @YashasShah I think you guys mean "Sneaky", or "Snakey"...

Profile icon
ShivankChhaya

@NoahJospeh Sneaky + Snakey = sNEKKy

Profile icon
Whippingdot
Profile icon
ShivankChhaya
Profile icon
Whippingdot

Don't advertise, I will report you @ShivankChhaya

Profile icon
ShivankChhaya

@Whippingdot ok woopsie

Profile icon
OldWizard209

@Whippingdot, @ShivankChhaya is not advertising. Advertising is if he askes you to view something that is on share or on talk for upvotes. He is NOT advertising. @Whippingdot . @ShivankChhaya , Everyone shares repls, it's all right(As long as it is normal).

Profile icon
Whippingdot

sry I didn't realize that don't hit me

Everyone shares repls, it's all right(As long as it is normal).

LULULULULULUL The as long as it is normal LOOOOL
@OldWizard209

Profile icon
KoreGreninja
Profile icon
nn10

@NoahJospeh
no snek is the internet name for snake

Profile icon
AeneidVI

@OldWizard209 I hope everyone read the capital N like I did.
(agressively) KN--
(calm) ...ow.

Profile icon
MarkusAGrayson
Profile icon
Ciciinho

@OldWizard209 snekception

Profile icon
firefish

@OldWizard209 one sneklang coming right up!

Profile icon
G0RG3

@firefish

u gonna make a sneklango??? gud

Profile icon
firefish

@YashasShah well erm my sneklang project was from a long time ago, and i er... well abandoned it. if you want to revive it we might have to enlist the help of @fuzzyastrocat

Profile icon
figglediggle
Profile icon
TheMaster7661

...You played right into our hands. Did you really think that this job just fell out of the sky for you? No...

This was a gift. For us. You gathered them all together, in one place. Just like he asked you to. All of those little souls, in one place. Just for us. A gift.

Now, we can do what we were created to do. And be complete. I will make you proud, Daddy!
Watch... listen... and be full!

BEEP!

Connection terminated.

I'm sorry to interrupt you, Elizabeth, if you still even remember that name. But I'm afraid you've been misinformed, you are not here to receive a gift, nor, have you been called here by the individual you assume. Although, you have indeed been called, you have all been called here. Into a labyrinth of sounds and smells, misdirection and misfortune, a labyrinth with no exit, a maze with no prize. You don't even realize that you are trapped, your lust of blood has driven you in endless circles, chasing the cries of children in some unseen chamber, always seeming so near. It's somehow out of reach, but, you will never find them, none of you will. This is where your story ends...

And to you, my brave volunteer, who somehow found this job listing not intended for you, although, there was a way out planned for you, I have a feeling that's not what you want, I have a feeling that you are right where you want to be. I am remaining as well, I am nearby. This place will not be remembered and the memory of everything that started this, can finally begin to fade away, as the agony of every tragedy should.

And to you monsters trapped in the corridors. Be still. And give up your spirits, they don't belong to you.

As for most of you, I believe there is peace and perhaps, warm, waiting for you after the smoke clears, although, for one of you, the darkest pit of Hell has opened to swallow you whole, so don't keep the Devil waiting, Friend...

My daughter, if you can hear me, I knew you would return as well, it's in your nature to protect the innocent. I'm sorry that on that day, the day you were shut out and left to die, no one was there to lift you up in their arms, the way you lifted others into yours, and then, what became of you, I should have known, you wouldn't be content to disappear, not my daughter. I couldn't save you then, so let me save you now. It's time to rest, for you, and for those you have carried in your arms...
This ends. For all of us...

End communication...

Profile icon
G0RG3

@NoahJospeh, I stopped reading after para 2 😁

Profile icon
TheMaster7661

@YashasShah Welcome to Freddy Fazbear's Pizza. A magical place for kids and grown-ups alike, where fantasy and fun come to life. Fazbear Entertainment is not responsible for damage to property or person. Upon discovering that damage or death has occurred, a missing person report will be filed within 90 days, or as soon property and premises have been thoroughly cleaned and bleached, and the carpets have been replaced.

Profile icon
G0RG3

@NoahJospeh, whaaaaaat?

Profile icon
TheMaster7661

@YashasShah The nightmares help me remember...

Profile icon
KoreGreninja

@NoahJospeh bruh, u tryna give someone nightmares or something

Profile icon
TheMaster7661

@KoreGreninja Maybe... maybe then we can suffer together... I can still hear his laughter, the sound of his music, the color of his eyes, as they watched me from the door. His matted fur, his robot parts underneath...

Profile icon
KoreGreninja

@NoahJospeh stop copying and pasting my guy.

Profile icon
TheMaster7661

@KoreGreninja The only thing I would copy and paste, would be song lyrics to a girl I like.

Profile icon
GhostKing007

bruh lol

Profile icon
TheMaster7661

@GhostKing007 You know what they call me down in Mexico? Mr. Steal Yo Grill!

Profile icon
Exidex1

snek

Profile icon
Exidex1

btw this is hot

Profile icon
DrPainkiller

@Exidex1 you do be preaching

Profile icon
ToxicHaste

Hold on! The game snake, made by PYTHON!!!!!!! Real SNekKy

Profile icon
EnderMarkoth

you should make something so that people can tell where the head is, if the snek gets really close to its body....

Profile icon
FlaminHotValdez

A furret?

RayhanADev would be proud.

Profile icon
RayhanADev

@FlaminHotValdez spot on :)

Profile icon
catspython

@FlaminHotValdez I noticed the furret right away.

Profile icon
LorenzoCampos

@FlaminHotValdez you were right

Profile icon
firefish

system('cls' if OSname == 'nt' else 'clear')

Might I... add a tip?
print("\033[H\033[2J") works for clearing screen. Note: the \033 from terminal colours.

Profile icon
LorenzoCampos

@firefish thanks for the tip, I saw it earlier but I forgot lmao, someone else brought it back up and found it again! - thanks

Profile icon
firefish

@LorenzoCampos You're welcome!

Profile icon
Hedgehawk11

top score:11

Profile icon
osooooo

@osooooo is special agent oso i met him a while ago

Profile icon
Brendan23
Profile icon
SilvermoonCat
Profile icon
tussiez

Awesome! A little slow to respond to keypresses though.. (AFAIK this is normal for terminal lol)

Profile icon
yecheng2
Profile icon
nn10

@yecheng2
OMG u are a snek god

Profile icon
yecheng2

@nn10
thanks

Profile icon
ToddHoward69

nice

Profile icon
BlobfacebyBSP

@LorenzoCampos can I use this code and customize it for one of my codes?

Profile icon
LorenzoCampos

@BlobfacebyBSP yeah, go for it!
sorry I didn't see this earlier

Profile icon
BlobfacebyBSP
Profile icon
BlobfacebyBSP

@LorenzoCampos also I just tried it and there is some parts I need help with, can you help.

Profile icon
Coding4Lizz

maybe you could stop the snake moving in one direction without moving the keys then it wouldn't be making you lose when you don't touch it:)

Profile icon
CyberDaDev

the box is so small GREAT SNEKKY BOI GAME DUDE!!!!!!!!!!!

Profile icon
thomrider

I am interested in spacebar counter its useful in improving my striking figure.

Profile icon
LingWu1

This Game So SNEKKY

Upvote :D :D :D

Profile icon
LingWu1

Me - Wanna hear a phrase?
Lorenzo - ... SNEK
Me - Snek is good but glitchy
Old Wizard - Wow, making sNeK in a SNEK LANGUAGE

Profile icon
Allan800

In line 114, u need to correct the word print, that is an error. It wont print the sentence u want it to print.

Profile icon
LorenzoCampos

@Allan800 its a function to print slowly (:

Profile icon
Allan800
Profile icon
kams12

it is nice

Profile icon
[deleted]

very

SnEkKy

nice

Profile icon
ItsYeBoiJ

SANAkse

Profile icon
ChAwIe

Dis not work how you play

Profile icon
ChAwIe

Play how dis

Profile icon
breedarrenkamp

Really cool! :o

Profile icon
TimothyRowell
Profile icon
TimothyRowell

WTF position: -webkit-sticky; /* Safari */
position: sticky;
top: 0;
}

Profile icon
JoshuaDierickse

Cool!