https://github.com/yatharthvyas/cross-circles
This is my first game developed using Java swing.
https://github.com/yatharthvyas/cross-circles
java-swing-application java-swing-game java-swing-project
Last synced: about 2 months ago
JSON representation
This is my first game developed using Java swing.
- Host: GitHub
- URL: https://github.com/yatharthvyas/cross-circles
- Owner: YatharthVyas
- Created: 2019-10-28T10:42:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-11T11:14:39.000Z (over 5 years ago)
- Last Synced: 2025-02-07T09:42:48.295Z (4 months ago)
- Topics: java-swing-application, java-swing-game, java-swing-project
- Language: Java
- Size: 160 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cross-Circles
My first game developed using Java Swing.
Game Rules:-
• Player 1 starts with "O"
• Player 2 goes next with "X"
• In order to win, you must have 3 in a row, column or diagonal.
• Undo is allowed only once per turn to prevent cheating.
• Multiple Undo implemented using stack.
• Play again button is set to visible only when the current game has concluded.Technical Stuff:-
Add this project to your netbeans/java swing IDE and run it.
Please inform me if you find any bugs.Work Left: Commenting the code.
There are 11 buttons:-
1-9: Play area for X and O
10: Play Again
11: UndoThere are 2 labels:
•Header
•Display for Player Turn or Victory MessageCredits to:- (for undo icon)