Current Forum: Homework 6 Part 1 |
Date: Fri Dec 7 2001 8:08 am |
Author: Bortz, Andrew S. <abortz@andrew.cmu.edu> |
Subject: Re: tournament + myboard |
|
|
No.
You don't need to do the actual searching in the body of the function isCapture(). Maybe you can do it in the body of a more appropriate function, and simply return the results of that in isCapture(). Or you can store the last move somewhere in the board, and use it, since isCapture() basically returns whether the last move was a capture or not... |
|