https://github.com/jtpeller/tictactoejava
TicTacToe game implemented in Java
https://github.com/jtpeller/tictactoejava
gui java swing tic-tac-toe tic-tac-toe-java tictactoe
Last synced: 6 months ago
JSON representation
TicTacToe game implemented in Java
- Host: GitHub
- URL: https://github.com/jtpeller/tictactoejava
- Owner: jtpeller
- License: gpl-3.0
- Created: 2022-01-25T23:57:07.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-14T00:49:22.000Z (9 months ago)
- Last Synced: 2025-06-02T08:35:10.476Z (7 months ago)
- Topics: gui, java, swing, tic-tac-toe, tic-tac-toe-java, tictactoe
- Language: Java
- Homepage:
- Size: 358 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/jtpeller/SudokuJava) 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
- [TicTacToe](#tictactoe)
- [Table of Contents](#table-of-contents)
- [The Program](#the-program)
- [How](#how)
## 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.