Share your repls and programming experiences

← Back to all posts
snake on terminal 🐍💻
h
ykdojo

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

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
ParvezRayhan
EthanMiringa
Yojan219
DaniaPastiernat
AgustinCuellar
HH47
Flex0955
eden01212
TimeDragon
DAveNgo
Comments
hotnewtop
LorenzoCampos

nice!

ykdojo

@LorenzoCampos Thank you!!

LeviathanCoding

Nice! I got 16

SilvermoonCat

great! just gets TOO fast for my preference

ykdojo

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

PikachuB2005

oof

Whippingdot

gud job brah

Coder100

I am yet to see a snake game made in curses

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.

Coder100

reee
# > ⬜️ @ykdojo

ykdojo

@Coder100 haha you should make it!

TimeDragon

What do you mean? Bad words? @Coder100

UniqueOstrich18