Комментарии:
Can you please make more python games or other python stuff's please
Thank you
The head of the snake isnt showing up even the codes are all correct
Ответитьhi my Snake would not show at the "def draw():" part and i messed around for a little bit it was fixed after making a Snake class using the same code from the "def draw():" part for the snake and put it in the Snake class so the code would work (this is what the code looks like " class Snake():
Canvas.create_rectangle(Snake.x, Snake.y, Snake.x + TILE_SIZE, Snake.y + TILE_SIZE)" minus the double quotes. And the you keep the "window.after(100, draw) draw()" part in the "def draw()"
I nned help ive defined move but when i add move to the def draw area is says its not defined and the color of it stays white
ОтветитьWhen I run it for some reason it doesn’t show the window I don’t know why every code I write is correct
ОтветитьI will definitely start checking out your website!
Ответитьhey it's not showing the snake and I have looked over the code repeatedly to see if it's wrong, and whenever I copy and paste the code from github, it still doesn't show the snake. was wondering if my programs just outdated or i'm just going wrong somewhere?
Ответитьhi i have a problem in line 12 def_init(self, x, y ): but the semi colon has an error
ОтветитьThank you so much!
Ответитьpls help not able to import tinker
ОтветитьIs there a way for me to be able to make the backgroud checkered like the actual snake game? And can I make the snake shaped more like the origianal one with the rounded edges? Also can the food become a different shape of pattern?
ОтветитьAs silly as it sounds I am stuck on the "move" part of the video — as many times as I go back and redo and rewrite it, the snake won't move.
Ответитьomg ty so much. You cannot believe how hard and how many searches it took to find you ty so much (edited for religious purposes)
ОтветитьI am coding this on a MacBook, I don't know if that is what is wrong but the window isn't showing up with everything else, it is just a blank gray screen I don't know why is there any way to fix that?
Ответить😍🥰
Ответитьit took me 2 to 3hrs to do
ОтветитьGive full source code in comment?
ОтветитьDid anyone figure out how to add the restart function, I have been trying but seem to be stuck
ОтветитьThanks it worked!🤩
ОтветитьI get an error at line 138, it says that the "TypeError: draw() missing 1 required positional arguement: 'G'
How can I fix this?
what shall i do when i get this error "_tkinter.TclError: can't invoke "winfo" command: application has been destroyed"?
Ответитьthis code was nice and learned although it did not work for some reason i just ended up copying your github version
Ответитьcan you say how to restart the game with space bar
ОтветитьWhen I run the program it says bad geometry specifier
ОтветитьHey so i cant fiqure out why the snake wont show up same with the food i checked the code from github from you and i didnt see the promblem with my code i need some help
Ответить5 advertisement in 19 minutes, why ?
ОтветитьDown arrow is not working can anyone help me?
Ответитьleft arrow key not working.. any suggestion
Ответитьwhat's tkinter or how should i get it because it doesn't import it?
Ответитьplese add the code in description
ОтветитьSir can you upload snake game project for Python IDLE
ОтветитьI am getting type error of Tile() takes no arguments what can i do now please help me
ОтветитьTile is not working in move function
Ответитьwhy is my window.after not working
ОтветитьThanks you! this video help me a lot
Ответитьwhy does putting upper case T" instead of lower case t for "Tile" in line 66 matter. i see it prevents the sake from growing but why does it matter if we havent set up any variables that way prior
Ответитьbro best coding channel on yt thank you
Ответитьyour videos are great... really very helpfull
ОтветитьMy first game complete. Took me 4 days working on it after work every night. Thanks was fun
Ответитьcan you tell me how i can make the game restart using space when its game over?
Ответитьthe time in the bottom right corner is 3:00am?!
Ответитьit doesnt center for me even if i copied the code in github
ОтветитьYour explanations are always very clear and understandable. Do you plan on adding Python/Pygame game development in the future?
ОтветитьAmazing tutorial and everything worked out. I tried changing the background with a custom photo, I watched different kinds of tutorials but It just doesn't work. Can someone help please?
ОтветитьI‘m currently at minute 28 but when my snake eats the food, it just stops moving and I can‘t get it to move anymore. The food disappears and appears somewhere else. Why does my snake stop?
Ответить