jerryt
Junior Member level 3
I am trying to design a tic tac toe game for a project. I need to detect the players first move and then wait 2 seconds before the machine makes a move. I wanted to make the move by the machine in the same "process statement" after the player makes his move but I can't add in a delay inside the process.
Should I use a counter and enable this counter everytime the player makes a move? After the player makes him move I could set a signal high and then use this signal in the counter process in the sensitivity list to activate the counter. How should I create this 2 second delay outside of the process? Any other ideas?
Thanks a lot for your help!
Should I use a counter and enable this counter everytime the player makes a move? After the player makes him move I could set a signal high and then use this signal in the counter process in the sensitivity list to activate the counter. How should I create this 2 second delay outside of the process? Any other ideas?
Thanks a lot for your help!