Android game using MVVM design pattern with two modes:
1- Single player mode, the user plays against AI uses a MiniMax as a decision rule algorithm with Alpha Beta Pruning search algorithm.
2- Multi player mode, the user can play against friend locally on the same device.
Playing against AI with 4 different levels of difficulty, as shown in the image i played the same scenario and each level has different response :
1- Easy defeated with the first 3 moves.
2- Medium defeated with the 4 moves.
3- Hard can not be defeated in this scenario, so i changed the scenario with a harder one the AI lost the game.