Skip to content
← Back to Community
snake on terminal 🐍💻
Profile icon
h
has Hacker Plan
ykdojo

I made a snake game with Python that you can play on terminal - inspired by @LorenzoCampos.

Screen Shot 2021-03-02 at 2.53.10 PM

The main differences are:

  • Every time you eat an apple, you move faster.
  • I implemented it with a single thread, using the blessed library.
  • I decided to use blessed instead of curses because of its better unicode support.
Voters
Profile icon
magnusULTRA
Profile icon
ArjunKrishna1
Profile icon
ParvezRayhan
Profile icon
EthanMiringa
Profile icon
Yojan219
Profile icon
DaniaPastiernat
Profile icon
AgustinCuellar
Profile icon
HH47
Profile icon
Flex0955
Profile icon
eden01212
Comments
hotnewtop
Profile icon
LorenzoCampos

nice!

Profile icon
ykdojo

@LorenzoCampos Thank you!!

Profile icon
TzeErnChan

image
Y it looks like this?
Is this my computer's problem?

Profile icon
IroncladDev

Nice! I got 16

Profile icon
SilvermoonCat

great! just gets TOO fast for my preference

Profile icon
ykdojo

@SilvermoonCat How about now? I made it a bit slower

Profile icon
PikachuB2005
Profile icon
Whippingdot

gud job brah

Profile icon
Coder100

I am yet to see a snake game made in curses

Profile icon
ykdojo

@Coder100 I actually tried making it, and it's basically pretty similar to this code. I decided not to post it cause it doesn't look quite as good with just ascii.

Profile icon
Coder100

reee
# > ⬜️ @ykdojo

Profile icon
ykdojo

@Coder100 haha you should make it!

Profile icon
TimeDragon

What do you mean? Bad words? @Coder100

Profile icon
UniqueOstrich18