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
194

🐍 snake 🐍

LorenzoCampos
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!

2 years ago

Voters

Comments

TopNew
1
1
BlobfacebyBSP
BlobfacebyBSP

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

2 years ago
2
LorenzoCampos
LorenzoCampos

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

2 years ago
1
BlobfacebyBSP
BlobfacebyBSP

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

2 years ago
1
Coding4Lizz
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:)

2 years ago
1
CyberDaDev
CyberDaDev

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

2 years ago
1
thomrider
thomrider

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

2 years ago
1
LingWu1
LingWu1

This Game So SNEKKY

Upvote :D :D :D

2 years ago
1
LingWu1
LingWu1

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

2 years ago
1
Allan800
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.

2 years ago
2
firefish
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.

2 years ago
1
LorenzoCampos
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

2 years ago
Load more