Introduction This project is a basic implementation of the Tic-Tac-Toe game in Java. It utilizes the Swing library for the graphical user interface. Features Simple and intuitive GUI. Two players can take turns playing 'X' and 'O.' The game automatically detects a winner or a tie. How to Play Launch the game. The game window will appear, featuring a 3x3 grid of buttons. Two players can take turns clicking on the buttons to place their respective symbols ('X' or 'O'). The game will automatically detect a winner or a tie and display a message accordingly. Game Rules A player wins by aligning three of their symbols in a row (horizontally, vertically, or diagonally). The game ends in a tie if no player achieves three in a row and the board is full.
-
Notifications
You must be signed in to change notification settings - Fork 0
devesha01/tic_tac_toe
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published