01. Overview
This project holds 3 multiplayer games including The Matrix, Prison Break, and Treasure Hunt. Created by Jason Mansour, Tiernan Hennessey, Jack Huckins, Omer Bashir, and Chris Hu for our Network Programming Final.
02. Features
- Adaptive Gameplay: With the AI narration, every game you play will be different.
- TCP/IP: With the use of our TCP/IP connection we can ensure strong and reliable communication
- Terminal Design: This game is run through the terminal with engaging graphics to make the gameplay experience better
- Multithreading: Efficient concurrent handling of multiple client connections and game sessions
- OpenAI API: Real-time AI narration powered by OpenAI for dynamic storytelling
03. Poster
04. Instructions
Step 1: Clone git repository
git clone https://github.com/jasonxmansour/AI-TCP-Game-Room.git
Step 2: Go to the proper folder
cd AI-TCP-Game-Room/src/main/java
Step 3: Compile the code
javac -cp "../../../lib/json.jar" *.java
Step 4: Export your API key
export OPENAI_API_KEY="apikey"
Step 5: Start the server
java -cp ".:../../../lib/json.jar" Server
Step 6: In a new terminal, navigate to the folder
cd AI-TCP-Game-Room/src/main/java
Step 7: Start the client
java -cp ".:../../../lib/json.jar" Client
05. Download
Access the source code or documentation:
[ SOURCE_CODE ]