Ah Excellent! It works as planned. Thanks guys! I didn't realise that in that instance the isComplete() method was setting the value of each entry back to zero each time.
:)
Type: Posts; User: Maukkv
Ah Excellent! It works as planned. Thanks guys! I didn't realise that in that instance the isComplete() method was setting the value of each entry back to zero each time.
:)
Okay thanks again.
I am actually having problems getting the game to work now when I make a move.
When I try to input rows and columns in order to activate the makeMove() method nothing happens and...
Ah of course, that was silly of me. Thanks!
I now just have the problem with board.isComplete() = false.
It states "unexpected type, required variable, found value" but I'm not sure what it refers...
I'm trying to create a noughts and crosses game, that runs without the need for any GUI components, with the following code. (I've marked in bold where the errors occur)
(Some pointers: I've used...