Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codertx/tictactoe-challenge
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.
https://github.com/codertx/tictactoe-challenge
Last synced: 18 days ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/codertx/tictactoe-challenge
- Owner: CodeRTX
- License: apache-2.0
- Created: 2024-11-01T15:39:56.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-03T20:34:15.000Z (3 months ago)
- Last Synced: 2024-11-10T03:31:25.867Z (3 months ago)
- Language: Java
- Homepage:
- Size: 126 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](snapshots/java_console_game.jpg)
### Java UI Game
![Java UI Game](snapshots/java_ui_game1.jpg)
![Java UI Game](snapshots/java_ui_game2.jpg)### Web Game
![Web Game](snapshots/web_game.jpg)
## Getting Started
### Java Implementation
1. Clone the repository:
```sh
git clone https://github.com/yourusername/TicTacToeShowcase.git
2. Navigate to the Java directory:
```sh
cd TicTacToeShowcase/java
3. Compile and run the Java program:
```sh
javac TicTacToe_Console.java
java TicTacToe_Console### HTML/CSS/JS Implementation
1. Clone the repository:
```sh
git clone https://github.com/yourusername/TicTacToeShowcase.git
2. Open the `.html` file in your web browser.### Java UI Implementation
1. Clone the repository:
```sh
git clone https://github.com/yourusername/TicTacToe-Challenge.git
2. Navigate to the Java directory:
```sh
cd TicTacToe-Challenge/java
3. Compile and run the Java program:
```sh
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.