8th Apr 2022, 8:51 PM
xrage killer
xrage killer - avatar
3 Answers
0
I think you can set a max height for the piece
8th Apr 2022, 11:06 PM
Faisal Issaka
Faisal Issaka - avatar
0
@Faisal Isaka i meant that the pieces are ignoring the pawns and passing thru the squares as if they are not there
8th Apr 2022, 11:14 PM
xrage killer
xrage killer - avatar
0
With in moveBishop() and moveQueen() functions there are several if, else and else if statements that are missing curly brackets, which just happen be the statements that have for/loops as part of the code block and for some reason the for/loops are also missing curly brackets. As I have stated in your earlier post on the same problem you need to add the curly bracket to either the if, else and else if statements or/ and the for/loops. https://code.sololearn.com/cXWms7IMiRsk https://www.sololearn.com/discuss/3008189/?ref=app
9th Apr 2022, 4:09 AM
ODLNT
ODLNT - avatar