Java Chess Programming Video #39 The GUI (Part XI)

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

Chess Code Repository :

IDE:

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

+Amir Afghani, thank you very much for the classes. It's great! I'm anxious in finish the game, it is awesome.
Great job.

brunomaam
Автор

This is very interesting. Sadly I don't have the time to watch all these videos :(

I have uni and just started CS. Keep it up though! Can't wait to see the finished masterpiece <3

Ownagelif
Автор

I'm Really Interested In finish the game!
Great Videos, thanks for your time! :)

byronfast
Автор

Hi Amir! Thank you for this amazing series. I am challenging myself to create a drag and drop feature for making the moves. However, I am stuck and have no clue whatsoever.

I attempted to use the mouseReleased and mousePressed event listeners. So that once the mouse is pressed, I can get the mouseX and mouseY. Then once it is released, I can get the next mouseX and mouseY.

Then, I am thinking about doing some sort of mathematical calculation to understand what should the final coordinate be to pass to the createMove method. But I am stuck at this point. By the way, this method does not drag. It just drops. I am thinking about creating the drop first and then making the drag part.

I was just thinking if you could help me get through this challenge. How would your approach be?

Linguaholic
Автор

"Type List doesnt take parametars"
This is the error that i get in DataModel class when im declaring variable PRIVATE FINAL LIST<ROW> VALUES;

Help?

aleksavasiljevic
Автор

what is in art/pieces/plain?
in your github doesnt exist art/pieces/plain

Mkras
visit shbcf.ru