|
Hey guys, I’ve been stuck on this problem for almost two days, and I can’t seem to be able to figure it out on my own, so I would really appreciate your help. First of all, here’s my code. The problem is, allMurdered remains true indefinitely. That is, long after takeTurns.playerTurn had been switched to true and takeTurns.machineTurn to false. Here’s the bit of code that does that: I believe that the problem lies in having two coroutines running simultaneously, but then I don’t understand them very well and can’t quite put my hand on the flawed part. Again, any help at all very appreciated.
(comments are locked)
|
