Комментарии:
Is there any way i can connect to you personally??
ОтветитьYou need recognition, and I'm gon do it for you!
Ответитьhey I've just got to the selection part but it's not working. it for some reason is like going up on an angle so like when I click a piece it will be in the right row but it and the bottom rook and the second pawn are correct but all the others are just random should I just start over or do you know what is wrong
Ответитьhow do you add the asset folder im new and im stuck on this part and need help
ОтветитьHi bro,really useful video
But I had a question:-
Does this code run on vscode in windows11 and if yess pls explain how
By the way an excellent tutorial from you
Thanks
Can you make it online multiplayer game? I will pay you
ОтветитьHow do you flip the board after every turn?
ОтветитьThis is so cool! But do you know any way that i could flip the board so that it could be easier for the other player to play?
ОтветитьCan this be used for a project for college?
Ответитьhi, how could i be able to access the position of the opposite king during the check_king? because i want to make it so that my king cannot move inside another kings range
ОтветитьI think you should make it's shorter version 👽
ОтветитьVery well done! very clear and the fact that you provided the github when some other videos for whatever reason did not, is a great plus! one note sometimes your camera square blocks what you are typing, maybe put it in the top left corner but other than that very well done! keep this up and I am sure you will have millions of subscribers and views!
Ответитьdoes anyone encounter that it doesn't draw the select pieces for you?
Ответитьwhich version of python is this ?
Ответитьbro plays bongcloud - nice vid
ОтветитьI'd like to have a pin function like- if a piece is in between my king and other check giving piece, then i should not be able to move that piece and yeah thanks teacher for the great project.
ОтветитьAmazing guide bro, great work only problem was your cam area😅, you could've moved it on a different spot, I was waiting for you to scroll to write most of the time.
ОтветитьThis was fantastic, I just finished my game and everything works smoothly. Thanks for the great video!
Ответитьbest video helped me a lot
ОтветитьYour so good😊❤❤
ОтветитьCould you please reply to this comment with the required code for castling, promotion and en passant ?
Ответитьi'll sub if you make a short follow up video on how to implement en passant, castling, and pawn promotion
ОтветитьThanks for this tutorial
ОтветитьI'm having an issue with the turn_step loop and piece selection/movement. I just finished the knight movement but this has been an issue since I made the pawns.
In short; it never seems to go around to turn_step 0, and the black pieces never move.
It starts with white's turn and I think they behave as they should, but once I then select black pieces and see the blue selection marker and valid moves, whenever I try to move any kind of piece to any possible spot, the white counterpart goes there instead. I try to play any pawn, 1 step or 2, the opposing white pawn gets placed there, and it's still black's turn to select a piece (turn_step 2). Try to move a knight and the mirrored white knight teleports right in front of my poor unsuspecting black pawns. Still black's turn. Select a black pawn to capture the knight and the opposite pawn moves 4 squares down and 1 to the side to land on top of the knight. Still black's turn.
turn_step goes: 0 1 2 3 2 3 2 3 but only white pieces move, so when it's black's turn the white pieces move with the black's valid moves. I cannot select or interact with the black pieces on white's turn.
So besides crossing the board, they're only making valid moves, aka only moving to squares with colored dots, so I'm guessing it's the turn_step cycle and the white/black_selections/locations lists or something, but I haven't got a clue where I went wrong.
Great tutorial, I have always wanted to create a Chess geme.
Ответитьu forgot about en passant @Lemaster Tech
ОтветитьWhen I run, it only displays a black screen with python doesn’t respond
ОтветитьThis really helped me. Thank you so much man
ОтветитьI thought in python the cells were (row, column) with the top right being (0,0). But the white locations here are [(0, 0), (1, 0), (2, 0), (3, 0), (4, 0), (5, 0), (6, 0), (7, 0) which would put the white pieces down the left side,
Ответитьhi, i'm up to the end of drawing valid moves on the screen but when i try to run the program it comes up with an error:
black_options = check_options(black_pieces, black_locations, 'black')
moves_list = check_rook(location, turn)
NameError: name 'check_rook' is not defined. Did you mean: 'black_rook'?
do you have any idea on what the problem is or how i can fix it (or if ive maybe missed anything)? thank you!
ty really well done
ОтветитьVery informative video. I tried to implement additional features and it was all going fine until en passant. Can you give me some advice?
Ответитьi got an error(their is no pygame module)☹
ОтветитьEddie Sharick have a function def loadImages() to load chess images in his main program : a global dictionary of images
images = {}
def loadImages():
pieces = ['wp', 'wN', 'wB', 'wR', 'wQ', 'wK', 'bp', 'bN', 'bB', 'bR', 'bQ', 'bK']
for piece in pieces:
images[piece] = pygame.transform.scale(pygame.image.load(f'assets/images/{piece}.png'), (size, size))
His variable size equals the board width divided by 8 (eclidian division)
Board should also be a loaded image... nice video!
Ответитьwhere do i find my assets folder?
ОтветитьHi. I am having a bit of a difficult time trying to draw the chessboard due to a smaller screen size. Any ideas on how I can go about this?
Ответитьgreat tutorial! just as we were asked to make a chess game as our final homework task for a programming class, still i need to add more features like castling and other , but i guess i'll figure it out
ОтветитьVery cool guide, thank you !! Can you maybe show us how you would implement castling, en passant and promoting pieces?
ОтветитьGreat vid bud. Will work through it.
Ответитьwhats the software you use?
ОтветитьOthers : They need to read many books and have multiple teachers to improve their coding skills and add to their resume.
Me: I believe that I only need lemastertech to take me 100 times further in programming
Well done,bro!
Ответитьwow I love chess and I always wanted to make it in a programing language, but I just couldn't find the right tutorial... then u uploaded this video and finely I'm satisfied! thanks for the content!👍
Ответить