[Tutor] Reversi Game Logic
Danny Yoo
dyoo at hashcollision.org
Fri Mar 20 02:28:54 CET 2015
On Thu, Mar 19, 2015 at 5:50 PM, <niyanaxx95 at gmail.com> wrote:
> I am having trouble with a function in my reversi logic code. The function is the isLegalMove I am asked to "Return a Boolean indicating if the current player can place their chip in the square at position (row, col). Both row and col must be valid indices." So I came up with my code below, however a move I make in the game says Error: not a legal move. Please help!
Do you have any tests?
More information about the Tutor
mailing list