/Word-Guesser

Word Guesser is a two player word guessing game, also known as "Hangman".

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

Word Guesser

Preview

A simple two-player word-guessing game.

Word Guesser is a small single- and multiplayer word guessing game with the goal to guess as many words as possible. Have fun enjoying it!


Table of Contents

The Gameplay

Word guesser offers three main game modes: Classic, Cards, and Three To Win. You can expand this list by creating your ask- and set question panes. The classic mode is the basic hangman game, cards on the other side is a simpler game mode where the characters are already given. Three to guess is by far the heaviest game mode, because one player needs to guess the entered word with three given tips by the other player.

Download Word Guesser

Just download the correct version for your operating system. Right after the download, you can start the game and have fun.

Download 1.1.0

Download for Windows: Download exe

Download for Ubuntu/Debian amd64 (.deb): Download deb

Install Word Guesser

Install Word Guesser on Windows

  1. Download the exe file.
  2. If you get an alert that the developer is unknown, click on "Open".
  3. The installation starts.

Now you can find Word Guesser in your Windows menu and on your desktop.

Install Word Guesser on Ubuntu and Debian

  1. Download the deb file.
  2. Fire up your terminal and type in: sudo apt install ~/Downloads/word-guesser_1.1.0_amd64.deb

Now you see that's way simpler to install programs on Linux than on Windows and Mac ;-).

Install Word Guesser on Mac

Dear Mac users,

I have bad news for you. I can't provide a download for macOS because of Apple signing restrictions. I don't have a paid Apple Developer Account ... but maybe someday…

What can you do if you want to use Word Guesser anyway?

It isn't impossible! Just download the jar file and run jpackage on it. All you need is the openjdk 18.0.2 and jmods. After downloading all files run this in your terminal:

/Users/<user>/Library/Java/JavaVirtualMachines/openjdk-18.0.2/Contents/Home/bin/jpackage --app-version 1.1.0 \
--copyright "Copyright (C) 2022 GregorGott" --description "Word Guesser is a two-player word-guessing game." \
--name "Word Guesser" --vendor "GregorGott" --module-path path/to/jmods \
--add-modules javafx.controls,javafx.graphics,javafx.fxml \
--input /Users/username/Downloads/ --main-jar Word-Guesser-1.1.0.jar

This should take a minute. Afterward, you should see a dmg file in your current directory.

The Points System

The points system of Word Guesser depends on the game mode, but in general, duplicate characters don’t count like in this example underneath:

C A R E T A K E R
1 2 3 4 5 2 6 4 4

Images

Mode selector screenshot Main menu screenshot Set word screenshot Classic game guess word screenshot Cards game guess word screenshot Result window screenshot

Developer Information

Used dependencies

This project uses Modern-Dialog-Windows for modern-looking alerts.

Expanding the game

A detailed wiki will be available soon.

All ask- and set question panes are located in com.gregorgott.guesser.AskQuestionPanes or com.gregorgott.guesser.SetQuestionPanes. You can write your child class of the abstract AskQuestionManager or SetQuestionManager class.

Afterwards, you can add your game mode to the mode selector by adding it to the ModeSelectorController class.

License

GNU General Public License v3.0: license on gnu.org

Please notice that the images are contributed under another license. You can find more information here.