https://github.com/ishaqadhel/tictactoe
TicTacToe game using Java Language.
https://github.com/ishaqadhel/tictactoe
java oop tictactoe
Last synced: 10 months ago
JSON representation
TicTacToe game using Java Language.
- Host: GitHub
- URL: https://github.com/ishaqadhel/tictactoe
- Owner: ishaqadhel
- Created: 2021-01-18T14:54:46.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-29T15:11:30.000Z (almost 5 years ago)
- Last Synced: 2025-03-22T13:28:15.550Z (about 1 year ago)
- Topics: java, oop, tictactoe
- Language: Java
- Homepage:
- Size: 488 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TicTacToe
## ๐ About
Tic Tac Toe is a paper-and-pencil game for two players, X and O, who take turns marking the spaces in a 3ร3 grid. This game created by using Java Language Programming (OOP).
## ๐ Features
- Insert Name
- Score each player saved till you close the frame
- Vs Computer Mode
- 2 Player Mode
## ๐ง Tools
- Java
- Eclipse IDE
## ๐งพ Program Components
### ๐ผ๏ธ Class Frame :
- Home
- ModeFrame
- PlayerFrame
- CompFrame
- GamesFrame
- GamesCompFrame
### ๐คต Class :
- Main
- Player
- Human (extends Player)
- Computer (extends Human)
## ๐ป Program Flow
- Start Main to initiate program
- From Main it will open Home Frame
- From Home Frame click 'PLAY' Button to go to ModeFrame
- In ModeFrame choose mode (vs Computer or vs Player), after click vs Button it will open CompFrame / PlayerFrame
- In PlayerFrame / CompFrame insert your name to play, after that click 'PLAY' Button
- After you click 'PLAY' Button in PlayerFrame / CompFrame the program will open GameFrame / GameCompFrame
- Happy Playing!
## โ Disadvantages
- From one menu to another still using JFrame not JPanel
- Vs Computer Mode, Computer Move still use random button not minimax algorithm
## ๐๏ธ Preview
### ๐ Home Screen

### ๐ Main Menu

### ๐จ One-Player Mode Profile

### ๐จ One-Player Mode In Game

### ๐คผ Two-Player Mode Profile

### ๐คผ Two-Player Mode In Game
