If a piece is moved, mark the from square as empty, print that empty square with the empty square char '-', and assign the to square with the new value, and print it in that square.
Type: Posts; User: Adak
If a piece is moved, mark the from square as empty, print that empty square with the empty square char '-', and assign the to square with the new value, and print it in that square.
On the Chess programming forums, you MUST absolutely ignore the attitudes! There's one or two that frankly, should be checking their meds, if not straightaway be locked up! They rarely appear, thank...
I agree with std10093, pick apart the move:fromCol fromRow toCol toRow, variables assigned from move[0] through move[4], but then you have the weird moves like a pawn reaching the last row, etc.
...