I am developing a simple Tic Tac Toe android app that supports 1 or 2 players. I have implemented an AI for 1 player mode which uses the minimax algorithm to play perfectly (either wins or ties). I want to allow for easy, medium, and hard difficulties the user can switch between. What are some ways I can achieve this?
My first thought was randomly choosing between making a random move or a perfect move. The probability for making a perfect move would be 60% for medium and 10% for easy. Any other ideas or modifications?
You have a few ways you can adjust strength, although the level of granularity is not great for a game as simple as tic-tac-toe.
You will need to experiment to find out what feels right.