Skip to content
Sign upLog in
← Back to Community

snake on terminal 🐍💻

Profile icon
ykdojoHacker

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
karinakhaledi1
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
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
EpicMiner11

@TzeErnChan
No. I have it too.

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

oof
Screenshot 2021-03-04 at 8.59.29 AM

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

@Coder100
i just made one lol
https://github.com/ading2210/snake-cli