Hanged.io
It is a multithreaded client/server Hangman game that are GUI-based which uses Java Socket programming. A server listens for connection requests from clients across the network or even from the same machine. Clients know how to connect to the server via an IP address and port number. After connecting to the server, the client gets to choose his/her username for the game. The clients can send a message in the chatbox to just chat or they can initialize the game with the specified command.
Project Team Members
Instructions:
Netbeans Installation
- Clone this repository
- Open the hanged.io-server project folder
- Open the hanged.io-client project folder
- If a warning exist, click the resolve button and guide the required
hanged.io-server
project directory to he correct one. - Now you can run the projects. (make sure to start the server first and then clients)
Server
- Run the project or just launch the
.jar
file - Click on the start button to start the server
Chat
While in the chat room:
- Simply type the message to send broadcast to all active clients
- Type
!HELP
for any help regading the command function - Type
!START
to start the game - Type
~your_answer_here
to guess the current game - Type
!HINT
for any help with the game - Type
!LOGOUT
to logoff from server