boris-ns / TicTacToe

Java (Swing) implementation of unbeatable Tic Tac Toe.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unbeatable Tic Tac Toe

Java implementation of Tic Tac Toe using Java Swing. You can play against computer, but the best outcome you can get is draw.
This program (AI) uses minimax algorithm for deciding which move to play. The game tree of Tic Tac Toe isn't big, so program can calculate fast enough the whole game tree every move and because of that it can play the best possible move.

About

Java (Swing) implementation of unbeatable Tic Tac Toe.


Languages

Language:Java 100.0%