Java Chess Programming Video #36 The GUI (Part VIII)

preview_player
Показать описание

Chess Code Repository :

IDE:

Reading Material:
Рекомендации по теме
Комментарии
Автор

Two minor corrections: you must invoke the highlighLegals method from within drawTile on the TilePanel class. Also don't forget to call createPreferencesMenu from createTableMenuBar. I will bring these points up again in the next video.

amir
Автор

How did you make the black pieces move? They were not moving at the end of the previous video

Linguaholic
Автор

In the application just the Pawn doesn't move forward. Do you know how can I fix that?
I'm Thankful for everything!
Bruno Moreira.

brunomaam
Автор

I wish you health. I learned a lot from you.
I am reviewing the project again and again to better imagine it.
I will continue the training, but this is enough for now.
I have to become more dominant.

blue_Tarkan
Автор

Im not sure why, but i cant move any of my pieces and when i try to move the knight to the r shape on the right, i get an establish king runtime exception

TheWreckerOG
Автор

+Amir Afghani Doesn't drawBoard get called when we are transitioning to the next position. I know your implementation is working for highlighting the next legal moves, but i have having hard time getting that to work. How is the drawBoard getting called when you click on the piece for the first time

Pabnix
Автор

Hey, I did get lost after this episode. You tried to get more content in less time. Is there any way you could help me out?

danielcarpenter
Автор

Hi sir, I'm facing a problem & the problem is when i run my program and select a piece then i didn't see a green dot in my tile and i use the same method you use but i am facing the same problem. Can you please give me a solution to my problem. Thank you.

arnabhembrom
Автор

How is it possible, that in your last video you couldn't make more, than one move, and now you can play turn by turn? :C

janjanis
Автор

Hello sir, when I try to compile the code from your GitHub link it shows Error:(9, 34) java: package it.unimi.dsi.fastutil.ints does not exist. So I would like to know which video should I look into that you talked about how to use fastutil library.

zeyegu
Автор

Hi, Amir, I have problem with the Lists.reverse(list...) method. The IDE told me guava dont have this method.... What I can do to solve this error?

joaohiga
Автор

sir, when i click the pieces.. the green dot doesnt appear but the .. pieces does move ... can you please help me with my code.

josephlarracas
Автор

Hi Amir, I just want to say the way you have taught during this lessons has been fantastic! you explain everything very well and you break down the steps in a way that is easy to understand. As of this video I've been able to keep up with everything that you have taught but unfortunately my pieces in the GUI seem to be unresponsive. If you have any spare time I wanted to ask if you could please look through my code and check for any mistakes that I may have made.

MT-othi
Автор

I have a problem where I am not able to move the black pieces at all. I was able to do so before I implemented the highlightLegalMoves-method but I don't know why it's not working anymore

Edit: Through debugging, i found out, that after the first move, every other move is now an illegal move, even though the legal moves are highlighted correctly. I'm gonna look further into this

I really can not find the problem. I need your help badly, but since you didn't post a video since 6 months, I dont think that you will respond :(

TheDarkOLeo
Автор

I like this video format better. It forces me to pause and read through the code while I copy it and try to understand, then play and listen to your explanation. Aside from that I'm in the same position as a few others in not being able to move pieces..I'm using a trackpad and e.getSource() usually works so I tried that set equal to no avail. But I will keep watching in hopes it was resolved. Thank you for doing this, again.

cassiusmusic
Автор

Hi i was wondering how you made your pawns move. i have every piece moving except my pawns. REALLY need your help asap

idkidk
Автор

hi Amir;
I am having problems with my code as I can make only the first move and then nothing moves. please help. Can you please tell me what you did to make them move. I have tried to compare your code with mine but yours is completely done and mine is still on this tutorial. please help.

Thanks and Regards

onkargarg
Автор

Any reason pressing the "flip board" option would prompt a message in the terminal and then continue flipping the board instead of selecting a piece when I press the board again? My dimensions are identical to yours.

tarabobinac
Автор

Hi, Amir!
The figures don't move. Do you know how can I fix that?

datvu
Автор

Hate to comment 2 years later but I'm really at a loss. Everything has been going so smoothly! At the end of the last video you weren't able to move your black pieces, and I had the same issue. In this video you suddenly can move them and I cannot. Do you remember what changed between the videos? Thanks!

daltonstout