An open API service indexing awesome lists of open source software.

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

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.