So cool! Gonna add a few personal touches to it such as changing the snake to a centipede and maybe putting some bugs around, but this is really helpful, thanks a lot
It's my first finished tutorial, game started at first try and I am happy so much. I understand the logic of this code, but still I have to learn a lot to be able to write something by myself. Do you think that using tutorials and making games that way and trying to understand it later is a good way to learn java?
I’m glad this helped you! I think the best way to learn any programming language is to apply what you have learnt in a tutorial, on your own project. By doing this, your brain is actively working to remember what you have learned.
all the code works perfectly fine with no errors EXCEPT the last @Override in MyKeyAdapter class... it says method does not override or implement a method from a supertype. if i remove it i cant move the snake with the arrow keys, so what should i do?
If I wanted a reset option that reset score, snake length, and cleared everything that was drawn in the game over screen, how would I implement that? I saw something that showed repaint() and timer.start() though I dont know where to put those.
when i do as the README file said, the terminal said: "error: file not found: GameFrame.java Usage: javac use --help for a list of possible options" how can can i fix this ?
Instructions to run: WHY WE DO THIS? I AM BEGINNER 1. Open terminal: First command: javac GameFrame.java GamePanel.java SnakeGame.java Second command: java GameFrame GamePanel SnakeGame Program will then open.
What project should I make a video on next?
Please type the code here 😭
@@unathinkuna7576 code is on my GitHub!
Make a 3d Game using java without a Game engine
Make a simple calculator 😊
Can you make something good using an ide on mobile
Your an absolute life saver bro I had to make game for my school coding project and you clutched up 🙏🙏
Haha that’s awesome bro, glad I could help
So cool! Gonna add a few personal touches to it such as changing the snake to a centipede and maybe putting some bugs around, but this is really helpful, thanks a lot
Best tutorial of snake Game In java Ever! 🎮 ❤
Thank you so much for watching :)
Cool project. But I wish you would explain what the code is doing. Especially all those Imports at the beginning. 👍
It's my first finished tutorial, game started at first try and I am happy so much. I understand the logic of this code, but still I have to learn a lot to be able to write something by myself. Do you think that using tutorials and making games that way and trying to understand it later is a good way to learn java?
I’m glad this helped you! I think the best way to learn any programming language is to apply what you have learnt in a tutorial, on your own project. By doing this, your brain is actively working to remember what you have learned.
@@dev_ression I hope you make more java tutorials and describe all blocks of code, so new ppl can understand it faster and easier :D
all the code works perfectly fine with no errors EXCEPT the last @Override in MyKeyAdapter class... it says method does not override or implement a method from a supertype. if i remove it i cant move the snake with the arrow keys, so what should i do?
I did all of the code but it gave me errors I did everything correctly but it's not working because I'm on codehs
If I wanted a reset option that reset score, snake length, and cleared everything that was drawn in the game over screen, how would I implement that? I saw something that showed repaint() and timer.start() though I dont know where to put those.
Can I ask if this snake game has to apply a design pattern template?
Nice tutorial 💪💪
Glad you liked it!
Awesome thanks 😊👍
Thank you for watching!
I want to ask if what will happen if the snake bump into his body... will it also be game over??
Yes!
when i do as the README file said, the terminal said:
"error: file not found: GameFrame.java
Usage: javac
use --help for a list of possible options"
how can can i fix this ?
i did perfectly the codes, but when i about to run its automatically in game over
how can i add a restart button? and how can i put a maximum score?
Are you a freelancer or a youtuber programmer only?
it didnt work i had so many errors and for some reason when i wrote the colors they didnt have that font and blue color to it like in the vid
Which IDE are you using? Also, are you sure you created a .java file and not a .txt?
Nice Game
Can you please help me with this error?
Error: Could not find or load main class SnakeGame
Caused by: java.lang.ClassNotFoundException: SnakeGame
You could potentially have misspelled the class name
Why 3 files? Can it be done in one file?
Sir i got errors snake was not search a food
Can you do this project using visual studio code?
it uses java, so yes
This is not teaching
And the Title doesn't imply that
Аааааа thank you 😘😘😘 I soo happy❤
Instructions to run:
WHY WE DO THIS? I AM BEGINNER
1. Open terminal:
First command: javac GameFrame.java GamePanel.java SnakeGame.java
Second command: java GameFrame GamePanel SnakeGame
Program will then open.
this example is in an IDE
💌
❤️
Please help me sir
Huh, all this code for only a snake game ☠💀
activate windows
never
@@dev_ression ohh cute