Oct-17-2017, 07:50 PM
There is a simpler way to do this. To figure it out, try this exercise:
- Pick a starting row and column. Any row and column will do, but something near the middle is best.
- Figure out every ending row and column the bishop could move to from that start.
- For each ending row and column, subtract the ending row from the starting row and the ending column from the starting column.
- Look for a pattern in the two numbers you get by subtracting.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures