Skip to content

Basic, advanced and ultimate tic-tac-toe games

Notifications You must be signed in to change notification settings

jiup/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe

For more detailed documentation, please see readme.pdf

Requirements

JDK 1.8+

Structure of directory

tic-tac-toe
├── README.md *
├── out
│   └── production
├── src
│   ├── basic
│   │   ├── Main.java
│   │   ├── agent
│   │   │   ├── Agent.java
│   │   │   ├── BasicMinimaxAgent.java
│   │   │   └── PrunedMinimaxAgent.java
│   │   ├── constant
│   │   │   └── Board.java
│   │   └── domain
│   │       └── State.java
│   ├── advanced
│   │   ├── Main.java
│   │   ├── agent
│   │   │   ├── Agent.java
│   │   │   └── HeuristicPrunedMinimaxAgent.java
│   │   └── domain
│   │       ├── AdvanceState.java
│   │       └── State.java
│   └── utimate
│       ├── Main.java
│       ├── agent
│       │   ├── Agent.java
│       │   └── HeuristicPrunedMinimaxAgent.java
│       └── domain
│           └── UltimateState.java
└── ttt.iml

How to use

  1. Prepare: cd /path/to/ttt/out/production/
  2. Build 1. Basic ttt: javac -sourcepath ./src/ -d ./bin/ $*.java 1. Advanced ttt: javac -sourcepath ./src/ -d ./bin/ $*.java 1. Ultimate ttt: javac -sourcepath ./src/ -d ./bin/ $*.java or /path/to/ttt/make
  3. Run the program
    1. Basic ttt: /path/to/ttt/bin/basic-ttt
    2. Advanced ttt: /path/to/ttt/bin/advanced-ttt
    3. Ultimate ttt: /path/to/ttt/bin/ultimate-ttt

About

Basic, advanced and ultimate tic-tac-toe games

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published