Skip to content

jtpeller/TicTacToeJava

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TicTacToe

A GUI tic-tac-toe game written in Java using AWT/Swing. This was a very early college project that I wrote after my Sudoku game. I realized that I greatly disliked writing GUIs in Java since it was very finicky and one minor change could demolish your GUI you labored over so long. Plus, unless you wanted to write extremely custom and overly complicated GUI elements, it wouldn't really look that good either.

Table of Contents

The Program

This game features 6 modes:

  1. Two Player
  2. Easy AI
  3. Normal AI
  4. Hard AI
  5. Unbeatable AI
  6. Unbeatable AI vs Unbeatable AI (this tends to crash) (fixed)

How

There is a JAR file included, and that can be executed to run the program. Of course, you need Java installed on your system / etc.

Building your own JAR from the code in src is possible with VSCode's build function, Eclipse, etc.