Tic-Tac-Toe From command line
HOW TO COMPILE AND RUN
- Locate location of java "jdk\bin" in system files.
- Add to path variable through command prompt if not already done. Use following command:
set "PATH=%PATH%;Location_of_jdk\bin"
(example:set "PATH=%PATH%;C:\Program Files\Java\jdk1.8.0_191\bin"
)
- Unzip folder and navigate to location of unzipped files
- Navigate to inside using:
cd COP4331_Project2_TTT-master\TicTacToe_Project3\src
- Compile all files using the following command
javac "course\oop\classes\TTTAI.java" "course\oop\classes\TTTGame.java" "course\oop\classes\TTTPlayer.java" "course\oop\controller\TTTControllerImpl.java" "course\oop\controller\TTTControllerInterface.java" "course\oop\main\TTTDriver.java" "course\oop\application\Main.java" "course\oop\view\MainView.java"
- Run the Driver file using the following command
java course.oop.application.Main
ADDITIONAL NOTES
- As directory was renamed to "classes" to accomodate Game, Player, and AI classes.