Skip to content

Emosans/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe

This project is a Java implementation of the classic Tic-Tac-Toe game, featuring both a human player mode and an AI opponent with simple conditioned optimized decision-making algorithms. The game uses an interface-driven architecture, where move strategies can be easily extended or modified. The AI employs advanced techniques to block the player from winning and make calculated moves.

Compile the files using

Create the bin folder and run this command at the root of the project.

javac -d bin src/*.java src/struct/*.java

-d : flag specifies the destination

Run the program

java -cp bin Main

-cp : flag for classpath. The compiled classes specifically Main.class are stored in 'bin/' folder.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages