Making Chess with html, css & javascript

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


My Social Media Links:

The purpose of this channel is to provide you the best content/videos on Web-Dev topics. Do comment if you have a idea for a video related to Web-Dev and I will surely check it out.
And for more videos subscribe my channel and also follow me on social media for more updates( links are in description and about page)

Learn something new every day.🙂
Рекомендации по теме
Комментарии
Автор

Pawn moves needs to be corrected. Pawn can also move 2 squares initially.

chessstarter
Автор

You can't move yourself into check in chess

HamsterCatLionn
Автор

Hi Jahid

Thank you so much for sharing this marvelous chess game with us, I just have few comments if you don't mind and I hope you'd have some time to amend few changes in the code, I play chess and i love it there are some issues with the game rules though as the following:

1- Whenever you promote a pawn once it reaches the opponent's last row and according to the game rules the player should get an option to get the following pieces on one condition it has to be taken out first by the other player: (Queen, Knight, Bishop or Rook) not just queen as in the code.

2- checkmate happens in terms of an impasse or deadlock so the player can't move the King anywhere and it's called checkmate.

I understand this could be difficult without using libs or other plugins but you simply done a perfect job using only html and js.

Thank you so much and apologies for the long post.

amedelenein
Автор

Wow this is awesome
Thanks for sharing

shervinanousheh
Автор

Hey bro nice video. But unfortunately this is not how chess works. The rules are incorrect in your demo at the beginning. I would suggest incorporating
an engine (the game mechanics) in order to make this more valid. Great start though!

dev_ression
Автор

Thanks for sharing all the details about this project..., but by any chance will it be possible to make a customized #Chess_Board regardless the position of any #Game, which means #Users can make it arrange in any position according to their convenient, while considering any #unfinished previous game...!? 🤔

shankarnathmajumder
Автор

the pawn should be able to move 2 step in the first turn

saiham
Автор

Nice video! Just a quick note: the queen and king are swapped and you missed some of the rules

naxxbg
Автор

That pawn can't make the move because it's pinned to the king, that part needs some logic implementation

abdelazizboudabia
Автор

How can it distinguish between allies and enemies?

kira
Автор

bro i am getting this error: Cannot set properties of null (setting 'innerText')
can u help me?

Songoku-hgbc
Автор

How can we get it so pawns can move two spaces in their first move?

marksrabbithole
Автор

Hey I was wondering how can you fix the first pawn move to be 2 squares.... how can we add that feature????

prathmeshkalehere
Автор

pieces are not showing in the html output help please..

jahveed
Автор

Chess is finished, I hope you practice to xiangqi.

phannhuthao
Автор

hello, how to put the image in another folder and it can still run

e.n.d
Автор

Hey thanks for the video, very insightful and great job!

Are you available for cooperation discussion?

Hope to hear from you!!

Thanks!

ProspersPlace
Автор

Are Bhai Hindi video bannao tumhara contain achha hai abhi Hindi ka jamana hai

EdutorialPatna