Thank you for the excellent tutorial! Your guidance has not only introduced me to new programming concepts but has also shown me how to break down complex game development tasks into smaller, manageable steps. You're amazing. Keep up the great work! ❤❤❤
It's great how the projects are started from scratch and that you don't use any sort of engine or library. And it's also great that you show what everything does, for the beginners. Well done, and keep it up! :) 👍
@@64_bit_coding the pawn itself doesn't move diagonally when eats the pieces but it eats (disappear) it instead then you have to make another move more like it can only move vertically,
Hi ryisnow, You are probably my favourite youtuber and the most underrated, you have helped me in guiding my programming journey for java, I wish you the best time!! -Your #1 fan
You've become one of the few youtubers whose uploads I will always click on when I see a new video on my feed. Your tutorials are awesome and really stand out to me, they're way easier to understand than quite a few other channels I've come across. It's always obvious you put a lot of time into planning and creating these videos. While I'm terrible at actually playing chess, learning about the logic behind the inner workings of how the game is created is too interesting of an opportunity to pass up. Thank you for sharing your knowledge!
I've been following you for 1 month, and I can't believe that now there is a chess code :D, I'm really glad because I thought I'd stick with the Tetris tutorial hehehe
I've been following you ever since the 2D Adventure series! Followed through the Tetris one and now this! Thank you for sharing your knowledge in these videos! There's always something to learn.
For drawing the chess board, I propose this syntax, based on testing the (row + col) % 2 modulus and using Color.decode() method : public void draw(Graphics2D graphics2D){ for (int row = 0; row < MAX_ROW; row++){ for (int col = 0; col < MAX_COL; col++){ if ((row + col) % 2 == 0){ graphics2D.setColor(Color.decode("#FFFACD"));} else { graphics2D.setColor(Color.decode("#593E1A"));} graphics2D.fillRect(col * SQUARE_SIZE, row * SQUARE_SIZE, SQUARE_SIZE, SQUARE_SIZE);}}}
@@student9997 i faced the same issue so I insted of using getResourceAsStream() method I used : image = ImageIO.read(new FileInputStream(imagePath)); I presume that the reason of the prob is a difference in the IDE in use
Thank you for this wonderful tutorial, I'm currently watching your Tetris-Video and I am really enjoying it at the moment. As a chess player myself I am very delighted to see this. Keep going!
you probably won't see this but I just subbed and have been watching your vids for quite while and I just picked up coding but i've learn't so much from your vids and you're my fav youtuber
Hello can you please help me with the code in Pawn piece , i dont know why it doesnt work for me . I would be so greatful if u take some of your time to respond me
Stalemate or draw can happen with blocked pawns. Basically, it happens when the only option you have is to move the King but there is no safe place to move it apart from the box it is in.
Stalemate happens when you have no legal moves left, but you also are not in check. That means that you can be in a stalemate situation where you have multiple PAWNS on the board that are blocked by the opponents pieces and your king has no legal moves left, but you are not in check, which would be a stalemate. Also when the 2 kings remain alone on the board it is a stalemate as well.
Sir 46:40 - it is showing the exception in thread(null pointer exception) when we move kings position further and not reseting it!... Can you help me sir?
can someone help ? im at 1:10:10 and when i click on any piece i get spam errors in console while running the project the project runs perfectly till i click any piece
I think you've already moved on but the most often occurence for me was when activeP isn't correctly updated, so when you click on a piece activeP is still null
In the pawn section, when I use the pawn to capture a piece, the code does not update the pawn's position after the capture. I hope somebody or RyiSnow will take a look and help me with this issue soon.
Great respect to you man not only u r giving tutorial how to build this game but u r actually defining how to and why are we implementing this or that logic including when and where with explanation, may ALLAH bless you brother. One request kindly upload ur tutorials and games (codes) on the github as well and also mention your email id to contact you like I was having issue in importing classes but I sorted it out because I ended up in wasting my 3 same tried useless projects and then again I started from the beginning and also basically all 3 times gpt 4o ruined my project. ❤❤❤
hey i've been folowing your rpg game tutorial but i ran into an issue with the collosions i typed the code exactly like you did in the tutorial but my character is able to move only on the left side and when he hits a tree or something it dont stop can you please help me fix the issue i'll be very thankfull
Hello i am having touble loading the pieces the java project folder has a red exclamation mark i know it has something to do whith my bild path but am having trouble solving it i am useing eclipse
hey, RyiSnow i neeed help with the 2D game. I keep having glitches on the screen..... I commented here because you don't execpt comments on other games anymore. (they are black glitches which means that the tiles are not moving right anymore. they started when I made the first object in the game.
Hi RyiSnow, I have some MP3 files and I'm trying to convert all of them to WAV. I'm not sure if I should use MP3 files or not. Can you give me some advice? 😊
Hi, i tried to ricreate the game followng your tutorial, but i think somethig went wrong with my code , because pawn doesn't go diagonally after capturig a piece and without changing turn after diagonally capturing. Then pieces can be captured allora in simulate mode. Coud I send you my code, in order to understand what's worn with my code? Otherwise could you give us the source code?😊
first , fire tutorial thank you man . really!. second I want to change the black pieces to be played by AI by creating a function that analyzed the board then returns the best move. can you upload a video or reply to me somehow , on how can I . thanks :)
@@nehdiekTap whats the error? for the code in this video or the (bad) code that i made 9 months ago. if its for this video then i might not be able to solve it but tell me anyway and if its for my own code then i definitely wont be able to solve it but tell me anyway 😭
@@matchey1300 the pawn itself doesn't move diagonally when eats the pieces but it eats (disappear) it instead then you have to make another move more like it can only move vertically,
@@nehdiekTap interesting, did you follow the tutorial completely to the end? it might be a problem with the legal move generation or not including a line of code to switch turns when taking
Exception in thread "main" java.lang.IllegalArgumentException: input == null! at java.desktop/javax.imageio.ImageIO.read(ImageIO.java:1356) at SimpleChess/piece.Piece.getImage(Piece.java:35) at SimpleChess/piece.Pawn.(Pawn.java:10) at SimpleChess/main.GamePanel.setPieces(GamePanel.java:54) at SimpleChess/main.GamePanel.(GamePanel.java:43) at SimpleChess/main.Main.main(Main.java:14) Excuse me can sombody help me with this error?!plzzz
Thanks man I fixed that now I have problem of the logic of the game Check and check mate and enpassante and how pawn capture and promotion… gosh it’s too much
Thank you for the excellent tutorial! Your guidance has not only introduced me to new programming concepts but has also shown me how to break down complex game development tasks into smaller, manageable steps. You're amazing. Keep up the great work! ❤❤❤
Thank you for the support! Glad to hear that my videos could help your learning :)
@@RyiSnow
are you using itellij idea?
bro can you give me the code? i have an error i cannot fix
bro i am not displaying the chess pieces,please help.I am at the first 26:00 of the video
can anyone share the code please
It's great how the projects are started from scratch and that you don't use any sort of engine or library. And it's also great that you show what everything does, for the beginners. Well done, and keep it up! :) 👍
bro can you give me the code? i have an error i cannot fix
@@nehdiekTap what error do you have?
@@64_bit_coding the pawn itself doesn't move diagonally when eats the pieces but it eats (disappear) it instead then you have to make another move more like it can only move vertically,
@@64_bit_coding can u help me bro
@@nehdiekTapcan you showe the code that you have for the pawn canMove method?
Hi ryisnow, You are probably my favourite youtuber and the most underrated, you have helped me in guiding my programming journey for java, I wish you the best time!!
-Your #1 fan
can anyone share the code please i am facing error ,it will be very helpful
Thank you for keeping the tutorials!
My pleasure!
bro i am not displaying the chess pieces,please help.I am at the first 26:00 of the video
You've become one of the few youtubers whose uploads I will always click on when I see a new video on my feed. Your tutorials are awesome and really stand out to me, they're way easier to understand than quite a few other channels I've come across. It's always obvious you put a lot of time into planning and creating these videos.
While I'm terrible at actually playing chess, learning about the logic behind the inner workings of how the game is created is too interesting of an opportunity to pass up. Thank you for sharing your knowledge!
Thank you for the kind words. The editing took a while so receiving a comment like this makes me feel the effort was worth doing.
bro can you give me the code? i have an error i cannot fix
It's nice to see you building java games again. Your 2d adventure game really helped me five months ago 🙂
can anyone share the code please i am facing error ,it will be very helpful
I've been following you for 1 month, and I can't believe that now there is a chess code :D, I'm really glad because I thought I'd stick with the Tetris tutorial hehehe
bro can you give me the code? i have an error i cannot fix
@@nehdiekTap if you cannot fix it the code wont work lol
Thank you so much for making these videos. I hope you'll continue making more. Again, thank you! ❤
can anyone share the code please i am facing error ,it will be very helpful
I've been following you ever since the 2D Adventure series! Followed through the Tetris one and now this! Thank you for sharing your knowledge in these videos! There's always something to learn.
For drawing the chess board, I propose this syntax, based on testing the (row + col) % 2 modulus and using Color.decode() method :
public void draw(Graphics2D graphics2D){
for (int row = 0; row < MAX_ROW; row++){
for (int col = 0; col < MAX_COL; col++){
if ((row + col) % 2 == 0){
graphics2D.setColor(Color.decode("#FFFACD"));}
else {
graphics2D.setColor(Color.decode("#593E1A"));}
graphics2D.fillRect(col * SQUARE_SIZE, row * SQUARE_SIZE, SQUARE_SIZE, SQUARE_SIZE);}}}
bro i am not displaying the chess pieces,please help.I am at the first 26:00 of the video
@@student9997 i faced the same issue so I insted of using getResourceAsStream() method I used :
image = ImageIO.read(new FileInputStream(imagePath));
I presume that the reason of the prob is a difference in the IDE in use
Thank you for this wonderful tutorial, I'm currently watching your Tetris-Video and I am really enjoying it at the moment. As a chess player myself I am very delighted to see this. Keep going!
I also play chess from time to time although I'm not that good. Coding this kind of board game is pretty fun :)
Thank you so much for making these videos. I hope you'll continue making more.
bro for me it is not displaying the chess pieces,please help.I am at the first 26:00 of the video
@@student9997 bro check the gamepanel we will find the point😊
Keep it up bro. I really love how you explain every lines
you probably won't see this but I just subbed and have been watching your vids for quite while and I just picked up coding but i've learn't so much from your vids and you're my fav youtuber
Glad to hear that and thank you for the sub :)
Great video as always. I've been watching all your rpg series too and I always get more impressed, your work is amazing!
bro can you give me the code? i have an error i cannot fix
@@nehdiekTap You mean his chess code (I guess it's available on github)? because I have done one too.
Thank you for the Tutorial, I finished it within half of the day.
Hello can you please help me with the code in Pawn piece , i dont know why it doesnt work for me . I would be so greatful if u take some of your time to respond me
Stalemate or draw can happen with blocked pawns. Basically, it happens when the only option you have is to move the King but there is no safe place to move it apart from the box it is in.
Ah, you're right. I totally forgot those situations 😅😆
how do you fix that? Could you tell me the solution @@@
Stalemate happens when you have no legal moves left, but you also are not in check. That means that you can be in a stalemate situation where you have multiple PAWNS on the board that are blocked by the opponents pieces and your king has no legal moves left, but you are not in check, which would be a stalemate. Also when the 2 kings remain alone on the board it is a stalemate as well.
great man keep going. you have the best tutorial playlist
bro can you give me the code? i have an error i cannot fix
thank you so much for sharing your knowledge!
Sir 46:40 - it is showing the exception in thread(null pointer exception) when we move kings position further and not reseting it!... Can you help me sir?
can someone help ? im at 1:10:10 and when i click on any piece i get spam errors in console while running the project the project runs perfectly till i click any piece
I think you've already moved on but the most often occurence for me was when activeP isn't correctly updated, so when you click on a piece activeP is still null
Thank you very much for your video. It helped me to understand java a little bit better.
bro can you give me the code? i have an error i cannot fix
I got some error in ur game if we try to check diagonally even if there is a pawn front of the king it would act as a check would u resolve this?
In the pawn section, when I use the pawn to capture a piece, the code does not update the pawn's position after the capture. I hope somebody or RyiSnow will take a look and help me with this issue soon.
As always, thank you for these tutorials!
Im still wondering how you code these on your own. It wouldve taken me forever to figure this out
Bro creates another series of a 2D video game with new mechanics or another style ❤
bro for me it is not displaying the chess pieces,please help.I am at the first 26:00 of the video
Did you find out how its done . If yes please share it
Have the same error
Great respect to you man not only u r giving tutorial how to build this game but u r actually defining how to and why are we implementing this or that logic including when and where with explanation, may ALLAH bless you brother. One request kindly upload ur tutorials and games (codes) on the github as well and also mention your email id to contact you like I was having issue in importing classes but I sorted it out because I ended up in wasting my 3 same tried useless projects and then again I started from the beginning and also basically all 3 times gpt 4o ruined my project. ❤❤❤
can you provide me the code i am getting few errors ! Thankyou!
@@nizamuddinkhan7408 yeah i guess
Which class's code you want
اشتي ربط حق الكود مقدرش اكتب
hello can you give me the code? i have an error i cannot fix it😭😭😭
7:13 what is double drawInterval =1000000000/FPS? And System.nenoTime(); and what is delta please explain more In detail
Check my game loop video for the details!
th-cam.com/video/VpH33Uw-_0E/w-d-xo.html
the king is back
@ReiSnow ure best programer😚
thank you , for making this tutorial ...it taught me many things and i m thankful
thank you as always!
bro can you give me the code? i have an error i cannot fix
hey i've been folowing your rpg game tutorial but i ran into an issue with the collosions i typed the code exactly like you did in the tutorial but my character is able to move only on the left side and when he hits a tree or something it dont stop can you please help me fix the issue i'll be very thankfull
(row + col) % 2 == 1 to check if it is a white or black square
Hello rysnow, do you do c#?
Hello i am having touble loading the pieces the java project folder has a red exclamation mark i know it has something to do whith my bild path but am having trouble solving it i am useing eclipse
JUST PUT THE PIECE FOLDER DOWNLOWDED IN THE SIMPLECHESS FOLDER ON YOUR PC
great video! I love it. Can you make a retro game like space invader?
after 0.7 and 1 ? what is it? what is the sign called?
good job bro, weed a FAQ vid about you like your age and where you from and what you studied in university
do u know where i can find documentation for making 2d games with java
Could you show how the entire GamePanel turned out? In the end, I get errors and I don't know where.
when i go to draw the chess board its black no chess board shows up please help.
the image probably didn't load
I hope you'll notice this message. The game you created the 2D Adventure on part 1, my GamePanel gamePanel; is error, why? I followed all the steps
I have dought how the fps thing work I mean how it controll the frame rate because while loop not work with time?
No joke, i literally start a project for chess and i have just putting trash on a fire pit, thanks a lot
Hello RyiSnow, you should make a 3D isometric game !
hey, RyiSnow i neeed help with the 2D game. I keep having glitches on the screen..... I commented here because you don't execpt comments on other games anymore. (they are black glitches which means that the tiles are not moving right anymore. they started when I made the first object in the game.
By the way, what is possible career options in java?
Nice video
Hi RyiSnow, I have some MP3 files and I'm trying to convert all of them to WAV. I'm not sure if I should use MP3 files or not. Can you give me some advice? 😊
Either way works but default Java classes don't support MP3 so if you want to use MP3 files, you'll need to add some libraries such as javazoom.
Hi, i tried to ricreate the game followng your tutorial, but i think somethig went wrong with my code , because pawn doesn't go diagonally after capturig a piece and without changing turn after diagonally capturing. Then pieces can be captured allora in simulate mode. Coud I send you my code, in order to understand what's worn with my code? Otherwise could you give us the source code?😊
Hello , can you please tell me how did you put the images becouse for me it keeps giving exepctiond and I did it all like in the tutorial . Thank you
hey hope your doing well, can you make a card fighting game? i tried so hard to find one but couldnt find any on java
Sorry I've been pretty busy at work and have no time to make videos atm 🥲
the videos are woww thxxxxx
Can we get more android games also
awesome tutorial. can you make more 2d platformer game, like megaman?
thank you
This is cool.
Nice video man but I don't know how to play chess but I definitively would be nice for creating checkers
first , fire tutorial thank you man . really!.
second I want to change the black pieces to be played by AI by creating a function that analyzed the board then returns the best move.
can you upload a video or reply to me somehow , on how can I .
thanks :)
Greatt job
bro can you give me the code? i have an error i cannot fix
thank you so much!! maybe 2d platformer soon??
bro can you give me the code? i have an error i cannot fix
3:57
the thicc japanese accent really makes me feel welcome 😂❤
Long time no see.
Hi ryisnow can you create a game called Checkers most people know English Drafts .👍
There is no tutorial in java on this but make a tutorial video on The Oregon Trail
how to make two player
Wilkinson Forges
Turner Freeway
Can you code a football game?
I would code if i knew how to play chess xd
Create checkers
Reynolds Union
Rowe Neck
similar to how i made it a long time ago
bro can you give me the code? i have an error i cannot fix
@@nehdiekTap whats the error? for the code in this video or the (bad) code that i made 9 months ago. if its for this video then i might not be able to solve it but tell me anyway and if its for my own code then i definitely wont be able to solve it but tell me anyway 😭
@@matchey1300 the pawn itself doesn't move diagonally when eats the pieces but it eats (disappear) it instead then you have to make another move more like it can only move vertically,
@@nehdiekTap interesting, did you follow the tutorial completely to the end? it might be a problem with the legal move generation or not including a line of code to switch turns when taking
@@matchey1300 yes but I can't find my error
#chessconstructor #chess
Boehm Pass
this sucks. lack features, bad oop habit, poor optimizing, almost no possible quick fix for improvements unless total revamp
Tell us a better code then
Exception in thread "main" java.lang.IllegalArgumentException: input == null!
at java.desktop/javax.imageio.ImageIO.read(ImageIO.java:1356)
at SimpleChess/piece.Piece.getImage(Piece.java:35)
at SimpleChess/piece.Pawn.(Pawn.java:10)
at SimpleChess/main.GamePanel.setPieces(GamePanel.java:54)
at SimpleChess/main.GamePanel.(GamePanel.java:43)
at SimpleChess/main.Main.main(Main.java:14)
Excuse me can sombody help me with this error?!plzzz
in the piece class getImage method.... use this
image = ImageIO.read(getClass().getClassLoader().getResourceAsStream(imagePath));
Thanks man I fixed that now I have problem of the logic of the game Check and check mate and enpassante and how pawn capture and promotion… gosh it’s too much