Not sure right spot for my qeustion since it is about game devel, but i am beginner so i guess i should post in beginner since simple question.
I have made a checkers game and gui. Can play with my self using gui. Also i have made an ai which returns best move in a position. But!
I have trouble finding out how to pass control between human player and ai player. Can this be done not using threads ? I want to have human player make move on gui and then
ai player makes move. Am kind of lost here. thought that this would be easy part when CheckersBoard and GUI classes are easy
Thank you for comments and welcome. Sorry my poor english..
My problem is i dont know how to design so i can get move from human-click on gui. My first program i just play for both. But now AI needs to be told about