Hey yo what's up bro. Can u show the realization of this game with element of competition? U can add data base for controlling 5 best scores of players, and of course every one who wants to play this game should type his nickname at the beginning of the game.
@Coldr0n Жыл бұрын
Hey, I was wondering, what theme you're using in pyCharm ?
@CoderSpaceChannel Жыл бұрын
Monokai
@mrdixioner5 ай бұрын
Очень минималистичные алгоритмы, как увеличения длины змейки, так и проверки самоедства! У других намного сложнее и запутаннее. Спасибо огромное за великолепные уроки!!!
@jeremyhubaker1199 Жыл бұрын
too hard for beginners this is an intermediate tut that uses modules ive never even heard of
@yasuperdashakakasha Жыл бұрын
thanks it helped a lot!
@wateryshoes667 Жыл бұрын
I followed everything as you said and I am getting attributeerror because game has no attribute snake (regarding using the game.snake.get_random_position())? How is that possible since we are setting it inside new_game method which is run when game class is initialized?
@letter101411 ай бұрын
You have to follow it VERY carefully.
@aldoortega44967 ай бұрын
It is totally possible in the instance of the run. - Game runs new_game() - new_game() add self variables snake and food - snake is declared first as an object of Snake(), with argument self. - food is declared as an object of Food(), with argument self (including game which was declared first) - Food initialization stores Game self content in game. - Food.__init__() can totally access to game.snake which is Snake object which contains get_rangom_position().
@cetysaa Жыл бұрын
Hey yo what's up bro , I really enjoyed your video but I really have a little problem while coding and if you can help me please I'll be very happy really cause really I'm lost .
@CoderSpaceChannel Жыл бұрын
you can email me, it is in the channel description
@cetysaa Жыл бұрын
@@CoderSpaceChannel really ?! Omg thank you !!
@dashsights4258 Жыл бұрын
Clean
@kaikenxl6800 Жыл бұрын
what version of python are you using?
@CoderSpaceChannel Жыл бұрын
3.10
@kaikenxl6800 Жыл бұрын
@@CoderSpaceChannelthank you i was having issues with importing pygame but it was because the version of python i was using wasn’t fully supported with pygame
@moody_moon_coder Жыл бұрын
8 minutes videos, 30 minutes of code! You're lier!