Inspiration
We wanted to make a game. We decided to choose to make the game of hangman since it can implement graphical features. And there was the extra challenge of learning how to communicate between computers for local multiplayer games.
What it does
It plays hangman. But there are 3 different modes. You can create a hangman game with a custom phrase to guess. You can have the phrase be randomly selected from one of three lists varying in word complexity. You can host a local multiplayer game with a custom phrase, where a computer on the same network can connect, and the player on that computer has to guess your phrase. Additionally, you can have the computer try to guess your phrase. This is primarily done for the first mode.
How I built it
The implementation of the project was pretty basic, using only libraries from Java SE. We implemented the graphical features (buttons, text labels, the window, etc.) using the javax.swing and java.awt libraries. We implemented the local multiplayer feature using the java.net library, having the computers give each other inputs using server sockets.
Challenges I ran into
The primary challenge was learning how to implement the local multiplayer, since none of us had any prior experience with server sockets. Additionally, it was harder to work as a team since the current situation limits our communication.
Accomplishments that I'm proud of
Our biggest accomplishment was learning how to communicate between computers, even if it was only on the same network. Aside from that, it was a big accomplishment for us for all the parts of the program to work together correctly.
What I learned
Aside from all the technical stuff involving graphics and servers, we learned that communication among team members is key towards implementing a project efficiently. Lack of communication can create a lot more (unnecessary) work to be done.
What's next for Hangman
Hopefully when we learn how to communicate between computers, we can implement the multiplayer for computers on different networks, and not just for computers on the same network.
Additional Notes
Please read the README.txt file before playing local multiplayer. It highlights important stuff needed for it. Created by Charles Immendorf, Abhignya Mantha, Zephyr Tao

Log in or sign up for Devpost to join the conversation.