Skip to content

alexandranimhagen/TicTacToeAlex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe – GUI-based Java Game

A classic Tic Tac Toe game built in Java using Swing and AWT. The game supports both single-player and two-player modes, with intuitive visual feedback and game status updates.

Features

  • Graphical user interface built with Java Swing
  • 1-player and 2-player modes
  • Randomized starting player (in 2-player mode)
  • Clear turn indicators and win/draw messages
  • Visual highlight of winning combinations
  • Reset functionality for replay

🛠 Technologies Used

  • Java
  • Swing (GUI components)
  • AWT (event handling and layout)
  • Object-Oriented Programming
  • Event-driven design

How to Run

  1. Clone the repository:
    git clone https://github.com/alexandranimhagen/TicTacToeGame.git

Open the project in your preferred Java IDE (e.g., IntelliJ, Eclipse)

Run TicTacToeGame.java as a Java Application

What I Learned This project demonstrates:

Structuring GUI-based applications using Swing

Handling user interactions with event listeners

Applying object-oriented principles in game logic

Managing game state and feedback in a clean, readable way

This project is part of my Java developer training and showcases my understanding of interactive application development in Java.

About

A GUI-based Tic Tac Toe game in Java using Swing and AWT

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages