Java Chess Programming Video #20 The Player (Part IV)

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

Chess Code Repository :

IDE:

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

I am attending a top tier CS school in the United States, and I must say, I have learned more about object oriented design from watching you than in my classes.

tbhideciaintshowingup
Автор

I am making this in Android but still code is the same you have helped me so much! Hope in future you will still be making videos so i can learn more from you! You are great teacher, thanks!

Kris-gjvb
Автор

actually Amir, my friend you explain the makeMove method pretty damn well, even when the move.execute is not fleshed out, you explain it clear and understandable. Thank you so much for putting these tutorials out <3

makov
Автор

I haven't watched the full series yet, but shouldn't we avoid having cyclic dependencies? Like the Board class is dependant on the Player class, but Player also depends on the board... (as seen in their constructors)

amartyasen
Автор

you're really good at explaining the complex..it's a tough skill and I've heard that intelligent people can take the most complex concepts and simplify them. I haven't looked, but I'm hoping you have more full project tutorials for when I finish this one. Thank you.

cassiusmusic
Автор

I'm confused. If we are getting if the current player is left in check, why do we use the opponent's king?

Edit: Nvm. Of course as soon as I post, you explain it.

alexlesage
Автор

return new moveTransition(this.board, move, Isn't the movement done? Why isn't transitionBoard placed instead of this.board?

blue_Tarkan
Автор

Hey, great tutorial, but why recalculate the kingAttacks on 10:00? Couldn't just use

RenanWRS
Автор

In the Board constructor, the black player should be instantiated this way: this.blackPlayer = new BlackPlayer(this, blackStandardMoves, whiteStandardMoves);
The second argument must be the plack blayers moves.

НиколайБеляков-шл
Автор

Hello, which parts cover how you created GUI?

RUFFRIDE
Автор

Hello, can this be done as an android app

sdavtech
Автор

one question please:

when (!kingAttacks.isEmpty())
why did we gave the transitionBoard as a parameter to the MoveTransition instead of this.board?
i didn't get it actually..

thanks a lot for your explanation!

m_r.o
Автор

Why mixing the rules of king with player part? That really confusing...

qimingchen
Автор

Hi men, I like your video series a lot. But I have a question. Why are we making the board class *Immutable* ? You explained that we are going to return a new board in every move. I think this might cost a lot of runtime and space. Can you explain this? Sorry for bad English if it is vague.

efecantepe
visit shbcf.ru