Making a Snake Game Where You’re the Food in Python
I made a snake game in Python that works in the terminal… but this time, you’re the food! lol
You can check out the game and the code here:
You can check out the game and the code here:
You can find my implementation of the regular snake game here:
You can check out @LorenzoCampos’s original snake game that inspired my idea here:
Can we become a programmer or game developer even if we are poor in maths?
Tik tok didn't treat you well
You are so intelligent
Bro good thinking I like ur idea
Please make a video on algorithm for sparse matrix from tuple matrix.
Здравствуйте, сделайте пожалуйста, русские субтитры🙏🙏🙏
Bro how can i share my own snake game link to someone
Please Help Me: I mistakenly Deleted A Python file after making it into a exe, Can you make a video on decompiling a python exe
National Geographic New Intro !!!
can you compare this guy with @
I want to get a job at Google sir plzzz guide me where I have to start from 🤔
Hi iam 17 years now,provide steps to me..to get in to google or other top companies , in 2-3 years,I mean at age 20 .love from 🇮🇳
Hi CS dojo, please make a video on "How to use Github".
So glad to see u back!
I am looking for your valuable suggestion,
My name is Sri and I am from India,I am now 30yrs age I have worked 5years in aviation and my degree is in aviation,I lost my job due to pandemic and now unemployed I am willing to change my career in IT/software side I have zero knowledge and don't know where to start can you suggest which will help to learn and land in job ASAP, I request your suggestions on which language or where to start
Awaiting for your valuable reply and thank you for your valuable time
which screen recorder do you use for youtube
Can you start a course on pygame
Tables have turned, funny af 😀
I learn about you dojo you help me so much your are truely amazing you share about your knowledge in programming i am a computer science student but this time i started know and understand how to use codes… hope fully you can download more tutorial.. thank you😍 from Philippines
Thanks for video.
So cool bro
After all these years this guy still coding snake lmao you hate to see it.
oh that was you 😮 i remember seeing this project
Bro please make videos on how you learnt english language
Which shampoo do you use ? 😂 pls tell
You smile nicely bro! That's the real happiness, only you can get from coding…
now you can add bigger levels, more snakes and two player coop.
oh my god I actually played this I saw it at the like trending page
It's not been a while it's been a decade
If it were C++, the snake would've caught you. Luckily, speed's weak with Python
Blessed or curses? I would go with blessed lol
and the final question why the snake eats an apple ????
Why didnt I think of this
I want to make a snake game in python using stack and queue. Please help me
I remember watching your python tutorial video like 3-4 years ago i was subscribe since you had 14 subscribers. I see your quality has gone super higher and you are verified!
I really wanna make an application for a restaurant! Trying 🤔
thank God i actually thought you were gone
The emojis utilized for the game were changed as a result of Google, resulting in the game becoming distorted. Is there any way to circumvent this?
Sir how do i remember coding sequence in my mind
YK will look 100x hotter if he grows beard
I am a big fan of you 🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩
Brother witch compiler's could better to use bro
Hey, I have a cool Fallout DCNV Engine To make a Triple Python World with….Help me Develop it, It could be really cool (Project X-18) Fallout Python. We can Start by Disabling all the characters and starting with three world maps and all DLC Content to Date disabled and new thread started. (DLC DCNVPython) "On a Tangent" A World of snakes and rumors of dragons .
make a 2 player game!
Please tell me what ide
لم تزبط معانا 🤦🏻♂️
Hi. Thanks for your time and efforts in making these tutorials for creating terminal games with Python and blessed. Unfortunately neither of your snake variations run in my Windows 10 "terminal" (command prompt) with Python 3.10.7. When I run the "you're the food" variation, immediately upon pressing an arrow key on the keyboard, I get "woah you won!! how did you do it?!" without seeing any of the "graphics" (actually saw nothing) on screen or playing at all. With your "standard" snake game, upon starting it and pressing an arrow key, I get:
score: 1 – speed: 3.2
Traceback (most recent call last):
File "C:Usersuser1codingpycsdojosnake-terminal-blessed.py", line 91, in <module>
heading = world[head][head]
IndexError: list index out of range
Any ideas about what might be causing these problems and if/how I could try to fix them? And… would you consider sharing your curses version of the snake game, so new Python learners like me could see how the code differs between using curses vs blessed?
Edit: Apparently my Windows 10 command prompt can not display the unicode characters you used in the code to display the borders, snake and food… so it just displays nothing and gets confused. I simply replaced the special characters with regular ASCII characters in your variables BORDER = '#'
BODY = 'O'
SPACE = ' '
APPLE = '*'
and it works… then I tried my luck in replacing the BORDER character with a unicode block character 'u2593' and that also works fine. So I will experiment more with which characters Windows 10 can and can not display in the command line, to "upgrade" the "graphics" somewhat from plain ASCII 😀