/Tic-tac-toe-AI

A 2-player Tic Tac Toe game built with Java and Java Swing implementing AI using graph algorithm

Primary LanguageJava

Codacy Badge

Tic-tac-toe-AI

Overview

A 2 player Tic Tac Toe game built with Java and Java Swing framework applying MVC design pattern. Human player is against an unbeatable computer player with AI implemented using polytree data structure and DFS graph traversing algorithm.

Screenshots

X's turn

Tie turn

Computer wins