Skip to content

ishaqadhel/TicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

home

📇 Main Menu

gamemode

👨 One-Player Mode Profile

oneplayer-profile

👨 One-Player Mode In Game

oneplayer-ingame

🤼 Two-Player Mode Profile

twoplayer-profile

🤼 Two-Player Mode In Game

twoplayer-ingame

About

TicTacToe game using Java Language.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages