sorry for going off-topic but I couldn't shake out of the back of mind. you said "candidate may be on the spectrum", do you discriminate against people based on their medical conditions?
for each type of piece if the bit is set, draw the piece at that position. if you click on a square and there is a piece in that square( there is a bit set in that position in any of the types), get the valid moves and…
why? the bitBoard describes the full game state, your renderer can use the data to draw the board for seamless decoupling. I don't see how the history would make any difference? bitshifting might be a bit hard for newer…
why the onus is not on the interviewer? Why is he bringing up chess if he just wants OO answers? Aren't there better problems to pose more suited for testing OO knowledge? Bitboard is a standard way of writing chess…
but then why use OO? what does OO offer that this method does not? In fact one could argue that this method offers better decoupling since it separates the rendering from the game Data.
sorry for going off-topic but I couldn't shake out of the back of mind. you said "candidate may be on the spectrum", do you discriminate against people based on their medical conditions?
for each type of piece if the bit is set, draw the piece at that position. if you click on a square and there is a piece in that square( there is a bit set in that position in any of the types), get the valid moves and…
why? the bitBoard describes the full game state, your renderer can use the data to draw the board for seamless decoupling. I don't see how the history would make any difference? bitshifting might be a bit hard for newer…
why the onus is not on the interviewer? Why is he bringing up chess if he just wants OO answers? Aren't there better problems to pose more suited for testing OO knowledge? Bitboard is a standard way of writing chess…
but then why use OO? what does OO offer that this method does not? In fact one could argue that this method offers better decoupling since it separates the rendering from the game Data.