I have created a Tic Tac Toe app using corona sdk and these are what i wanted in the app.
Allow a human to play vs. “the computer”
Allow a choice as to who goes first
Keep track of the moves made and be able to show the winner
So i have managed to achieve the above tasks and now i want the below requirements to be added to my existing app.
Implement a winning strategy for the computer (figure 1). (I will give you this figure when u contact me)
Keep track of the number of wins/losses/draws across separate invocations of the app i.e. persistent storage
Allow these scores to be cleared
Allow a human to undo his/her last move within five seconds of making a move
Replay the last game in order of the moves made by each party
Implement a three-level difficulty scheme where easy = computer plays randomly, hard = computer plays with logic in figure 1 and medium = computer uses random placement on odd turns and figure 1 on even turns .
Black box and Unit tests.
If anyone interested contact me. Thanks.