How to convert array indices into possible moves for a rook and bishop chess piece

I'm struggling to work out how to convert index numbers in a 2D array into possible moves for a rook and bishop to move. I want to get a boolean expression to see if a move is legal. Sorry, I'm new to programming, I'd really appreciate some help...

Read More »

By: StackOverFlow - Wednesday, 7 November

Related Posts