Kahyeet is a multiplayer quiz game inspired by Kahoot. This project consists of two main components - Client and Server, both of which support multiple user interactions and real-time updates. This project directory includes three primary folders: App
, Code
, and Pic
.
Kahyeet_Project
├── App
│ ├── Client
│ │ ├── Kahyeet.exe # Client executable
│ │ └── Sound # Contains sound files for client
│ └── Server
│ ├── Kahyeet_Server.exe # Server executable
│ ├── scores.txt # Stores players' scores
│ └── questions.txt # Stores quiz questions and answers
├── Code
│ ├── Client
│ │ ├── Client.java
│ │ ├── GameUI.java
│ │ ├── LeaderUI.java
│ │ ├── LoginUI.java # Main entry point for client
│ │ ├── Question.java
│ │ ├── Sound.java
│ │ ├── WaitUI.java
│ │ ├── Kahyeet.jar
│ │ ├── bin # Compiled classes
│ │ └── Sound # Contains sound files for client
│ └── Server
│ ├── ClientHandler.java
│ ├── LeaderServer.java
│ ├── Player.java
│ ├── Server.java # Main entry point for server
│ ├── Kahyeet_Server.jar
│ ├── scores.txt
│ ├── questions.txt
│ └── bin # Compiled classes
└── Pic
├── KickPlayer_UI.png
├── Leaderboard.png
├── Player_Login.png
├── Question_UI.png
├── Server_Management.png
└── Waiting_Room.png
- App Folder: Contains the compiled executables (
Kahyeet.exe
for the client andKahyeet_Server.exe
for the server) for immediate execution. - Code Folder: Contains source code files and compiled classes for both the client and server.
- Pic Folder: Contains images for documentation.
To run the Java, JAR, and EXE files, ensure you have the following set up:
- Install Java Development Kit (JDK): Download and install the JDK Development Kit, and set up the environment variables properly for Java to function.
- Download and extract the project in a directory without spaces or special characters.
- Run Application:
- Use the
.exe
files in theApp
folder to launch the server and client applications directly. - For Java developers, you can also use
Kahyeet.jar
andKahyeet_Server.jar
in theCode
folder for running the app in a Java environment.
- Use the
- LAN-Only Gameplay: The application is designed to work on a Local Area Network (LAN). However, if you want to connect players over the internet, it is recommended to use Radmin VPN to simulate a LAN environment. Download it here: Radmin VPN
-
Launch Server:
- Run
Kahyeet_Server.exe
inApp/Server
orKahyeet_Server.jar
inCode/Server
. - Server manages player connections, tracks scores, and handles game settings.
- The
scores.txt
file records players' scores, whilequestions.txt
holds the quiz content.
- Run
-
Launch Client:
- Run
Kahyeet.exe
inApp/Client
orKahyeet.jar
inCode/Client
. - Use the
LoginUI
to log in with a unique username and join the game.
- Run
Questions in questions.txt
should follow this format:
Question 1
Answer 1
Answer 2
Answer 3
Answer 4_@#
Question 2
Answer 1
Answer 2
Answer 3_@#
Answer 4
...
The correct answer for each question is marked with _@#
after the answer text.
Login Screen | Waiting Room |
---|---|
Server Management | Kick Player Screen |
Game Screen | Leaderboard |
- The server logs player scores to
scores.txt
in theApp/Server
orCode/Server
directory. - Disconnected players are marked in the leaderboard and excluded from score saving if kicked.
- The
Sound
folder contains audio files used for background music and effects during gameplay.
Feel free to customize this project as needed for your learning or development purposes!
MADE BY EGGPLANT203🍆 WITH LOVE <3