Design Interview Question : Design a two Player Online Chess Game | Logicmojo Classes

  Рет қаралды 48,942

Logicmojo

Logicmojo

Күн бұрын

Пікірлер: 42
@bostonlights2749
@bostonlights2749 4 жыл бұрын
For those who made it till the end, This is really good!!
@ritugupta3367
@ritugupta3367 3 жыл бұрын
I have watched so many LLD explanation. this is best so far. Thanks!
@Sp_Travel_Vlogs07
@Sp_Travel_Vlogs07 Ай бұрын
Very informative article 20:13
@souravmitra100
@souravmitra100 4 жыл бұрын
Nice explanation. Can you explain how will you design if you want to include a check and check mate notification to the players?
@deepakupreti4598
@deepakupreti4598 4 жыл бұрын
Nice video. Clearly explained. It would have bee. More helpful if other aspects like check, checkMate were also discussed because they are also very important during chess design
@zuowang5185
@zuowang5185 4 ай бұрын
this is a new grad level of system design
@ashwanikumar4288
@ashwanikumar4288 3 жыл бұрын
Great explanation sir! One question, shouldn't the box class have a color property assigned to it just like each piece class has one?
@RockingFrom86
@RockingFrom86 3 жыл бұрын
Nice detailed explanation. But perhaps the title is misleading when it says "online" chess game - expected the high level architecture rather the the low level class design.
@xiangyushawnwang4883
@xiangyushawnwang4883 4 жыл бұрын
Well explained, may be better if we have a checkstatus function in the game class
@SUNNYKUMAR-cl1xw
@SUNNYKUMAR-cl1xw 3 жыл бұрын
best explanation available on youtube
@AmolGautam
@AmolGautam 6 ай бұрын
Thank you so much.
@shuaizhang6502
@shuaizhang6502 6 ай бұрын
In the playerMove function, should the start box set its piece variable to null in case that the move is valid?
@TehhProdigy
@TehhProdigy Жыл бұрын
My favorite part was when the online portion was resolved.
@vadane1
@vadane1 4 жыл бұрын
Well explained. Thank you so much for explaining with details
@iamnoob7593
@iamnoob7593 3 ай бұрын
SUPERB
@vivekpereira7290
@vivekpereira7290 5 жыл бұрын
Great Explanation!! Had a doubt, in the last method - playerMove() , don't we have to set the start position to null too?
@devarsdk
@devarsdk 4 жыл бұрын
I guess we should
@manjunathm7632
@manjunathm7632 5 жыл бұрын
Awesome! Really Well explained thanks for the video
@narendranaidulolugu527
@narendranaidulolugu527 11 ай бұрын
why we need player parameter in player move method?
@SreekantShenoy
@SreekantShenoy Жыл бұрын
dayum this is cool.
@GoyalMrManish
@GoyalMrManish 4 жыл бұрын
Well Explained, Great Video
@asimnaqvi1860
@asimnaqvi1860 Жыл бұрын
Thank You 👍
@logicmojo
@logicmojo Жыл бұрын
You are welcome!
@arifraja3168
@arifraja3168 4 жыл бұрын
Well explained, Thanks much!!
@kishore7141
@kishore7141 4 жыл бұрын
very neat explanation. One question though, what is the need of isKilled method?
@ayushiajit3088
@ayushiajit3088 3 жыл бұрын
Just a doubt. at 16:54 why the block has to be unoccupied? it can kill the other piece no?
@devarsdk
@devarsdk 4 жыл бұрын
Great video man, Cheers!
@bharath_v
@bharath_v 4 жыл бұрын
Great Video! At time 17:49 shall we check (if x==1 && y==1) to make sure the coin moves diagonally?
@jjc5258
@jjc5258 4 жыл бұрын
That’s right
@ashwint959
@ashwint959 8 ай бұрын
What if when moving a piece, the king could get killed? In that scenario, you cannot move
@BaishaliGhosh13
@BaishaliGhosh13 4 жыл бұрын
Why do we need a Board reference in the canMove method of the Pieces?
@tarungarg6592
@tarungarg6592 4 жыл бұрын
because while checking canMove, we might also require information about other cells besides start cell and end cell, for example, in case of a rook, if it is moving five steps in a direction, we will need to validate that there is no other piece present on the 4 cells between the start cell and the end cell, and that can only be validated if we have the board reference
@yuexian7981
@yuexian7981 3 жыл бұрын
@@tarungarg6592 I think that is verified by the box class by end.getpiece? I think board is unnecessary
@shrivamanish
@shrivamanish 4 жыл бұрын
where is Board variable defined in the piece class?
@arjityadav6404
@arjityadav6404 4 жыл бұрын
Why will you have a board variable in piece class ? The pieces are contained in Box, so only Box can contain it. Even Board can contain List of Piece that are still present on the board just to keep track of pieces still in play.
@ChandraShekhar-by3cd
@ChandraShekhar-by3cd 3 жыл бұрын
Hi Everone, could someone please suggest some good resources on LLD.??
@ruixue6955
@ruixue6955 4 жыл бұрын
23:23 Player 23:51 Game class
@bostonlights2749
@bostonlights2749 4 жыл бұрын
29th Sept 2020 12,034 views
@anilchaudhry804
@anilchaudhry804 4 жыл бұрын
please make a video on tic tac toe game design
@randominfo145
@randominfo145 4 жыл бұрын
kzbin.info/www/bejne/nZzXi6aObr9rgdk
@kapilthukral618
@kapilthukral618 2 жыл бұрын
Low level system design
Amazon System Design Interview: Design Parking Garage
29:59
Exponent
Рет қаралды 1,4 МЛН
18. Design CHESS GAME, LLD Mock Interview | Low Level Design Coding Interview Question
1:07:24
Concept && Coding - by Shrayansh
Рет қаралды 34 М.
1ОШБ Да Вінчі навчання
00:14
AIRSOFT BALAN
Рет қаралды 6 МЛН
Остановили аттракцион из-за дочки!
00:42
Victoria Portfolio
Рет қаралды 2,9 МЛН
How I Mastered Low Level Design Interviews
8:41
Ashish Pratap Singh
Рет қаралды 72 М.
Software Engineering Job Interview - Full Mock Interview
1:14:29
freeCodeCamp.org
Рет қаралды 1,4 МЛН
How I Failed the Google Coding Interview (and lessons I learned)
14:24
Whiteboard Coding Interviews: 6 Steps to Solve Any Problem
15:18
Fullstack Academy
Рет қаралды 369 М.
How I Mastered System Design Interviews
10:22
Ashish Pratap Singh
Рет қаралды 173 М.
1ОШБ Да Вінчі навчання
00:14
AIRSOFT BALAN
Рет қаралды 6 МЛН