Connect autonomous game model with Qt based UI
What you can do in the Player play
function is:
- Enabled the buttons and connect them to slots (one per action)
- Wait until the player move is validate (or any other reason to quit)
- Disconnect signals to slot when the player move has been received (or is validated)
This is one way but you should modify it to fit your game model