Unfortunately I took a long time getting the turn-based working and the only way of it working every time, would be by applying the rule of the ten seconds :'( tried a smaller timeframe, but the code would only allow you to move once, breaking the game!
But glad you liked the concept of the game! Hope to solve this issue and a few others I detected as well :D