Skip to content

This repository showcases various implementations of the classic Tic-Tac-Toe game, including console-based and graphical user interface (GUI) versions in Java, as well as a web-based version using HTML, CSS, and JavaScript. Each implementation supports both human vs. human and human vs. AI gameplay.

License

Notifications You must be signed in to change notification settings

CodeRTX/TicTacToe-Challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TicTacToe-Challenge

Welcome to the TicTacToe-Challenge repository! This project showcases Tic-Tac-Toe implementations in Java and HTML/CSS/JS, featuring both human vs. human and human vs. AI gameplay.

Features

  • Java Implementation: A console-based Tic-Tac-Toe game with AI opponent.
  • Java UI Implementation: A graphical Tic-Tac-Toe game with a user-friendly interface and AI opponent.
  • HTML/CSS/JS Implementation: A web-based Tic-Tac-Toe game with an interesting UI and AI opponent.

Screenshots

Java Game

Java Console Game

Java UI Game

Java UI Game Java UI Game

Web Game

Web Game

Getting Started

Java Implementation

  1. Clone the repository:
     git clone https://github.com/yourusername/TicTacToeShowcase.git
  2. Navigate to the Java directory:
     cd TicTacToeShowcase/java
  3. Compile and run the Java program:
     javac TicTacToe_Console.java
     java TicTacToe_Console

HTML/CSS/JS Implementation

  1. Clone the repository:
     git clone https://github.com/yourusername/TicTacToeShowcase.git
  2. Open the .html file in your web browser.

Java UI Implementation

  1. Clone the repository:
    git clone https://github.com/yourusername/TicTacToe-Challenge.git
  2. Navigate to the Java directory:
    cd TicTacToe-Challenge/java
  3. Compile and run the Java program:
    javac TicTacToe_UI.java
    java TicTacToe_UI
    

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

File Structure

  • snapshots/: Contains screenshots of the implementations.
  • .gitignore: Specifies files and directories to ignore in the repository.
  • LICENSE: The license for the project.
  • README.md: This file.
  • TicTacToe.html: The HTML file for the web-based implementation.
  • TicTacToe_Console.java: The Java file for the console-based implementation.
  • TicTacToe_UI.java: The Java file for the UI-based implementation.

About

This repository showcases various implementations of the classic Tic-Tac-Toe game, including console-based and graphical user interface (GUI) versions in Java, as well as a web-based version using HTML, CSS, and JavaScript. Each implementation supports both human vs. human and human vs. AI gameplay.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published