haithemsouala / tictactoe-app Goto Github PK
View Code? Open in Web Editor NEWThis project forked from alex-sh-wu/tictactoe-app
This is a TicTacToe app, written for Android. There are two modes to this app: PvP and PvE (person versus environment/computer). The PvE AI uses a minimax alpha-beta pruning algorithm, borrowed from another website (see code comments for details). The AI is programmed in such a way so that it will never lose (try it if you don't believe me ;]).