Question: I need a python function to iterate over a row of 10 and a column of 9 matching the description below. assume the board is

I need a python function to iterate over a row of 10 and a column of 9 matching the description below. assume the board is accessed as self._board. with self_board[0] being the row and self_space[1] being the column. attach the possible moves to a list

Cannon : If you are acquainted with Chinese chess, note that the Korean cannon has some important differences. The cannon moves along any straight line, including the lines within the fortress, but must have one piece to jump over.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!