reset password
Author Message
dbravoru
Posts: 60
Posted 15:21 Feb 25, 2014 |

In the main method of the Game Engine, the compiler states it cannot find the variable 'valid,' and I agree with the compiler; where is the variable 'valid' coming from, or where am I supposed to initialize it? 

To clarify, the purpose of the variable 'valid' is to check whether the player's move was valid or not, correct?

 

Thank you.

Eric Liao
Posts: 158
Posted 15:53 Feb 25, 2014 |

I just fixed the compile time error about the valid.

Yes, this valid will be used to check if the player move is valid or not.