Skip to content

ashishqcs/TicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TicTacToe

Tic Tac Toe with AI (vs CPU)

This is a fully working code ( Android App ) that can be played PvP or against UNBEATABLE AI.

main files include:

** Board.java -- This file contains working of Tic Tac Toe Board.

**GameMechanics.java -- It defines game mechanics like conditions when cpu or player wins.

** AI_revised -- This file contains code for unbetable AI and How it chooses best move , based on minimax Algorithm.

                      *AI revised because it is revised as the first AI that I created didn't prove to be of much use.*

Feel Free to share any improvements or suggestions.

About

Tic Tac Toe with AI (vs CPU and PvP)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages