Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dariarty/hangman_game_qt

Hangman game with fancy GUI, multi-language support, sound effects and lots of words made with C++/Qt/QML
https://github.com/dariarty/hangman_game_qt

cpp game hangman qmake qml qt

Last synced: 3 months ago
JSON representation

Hangman game with fancy GUI, multi-language support, sound effects and lots of words made with C++/Qt/QML

Awesome Lists containing this project

README

        

# Hangman_Game_Qt

[![en](https://img.shields.io/badge/lang-en-blue.svg)](https://github.com/Dariarty/Hangman_Game_Qt/blob/main/README.md)
[![ru](https://img.shields.io/badge/lang-ru-red.svg)](https://github.com/Dariarty/Hangman_Game_Qt/blob/main/README.ru.md)

Play in browser - WebAssembly version hosted on GitHub Pages

Cross-platform Hangman game made with C++/Qt/QML for Windows, Linux, Android and WebAssembly.

Hangman is a word guessing game. Program randomly chooses a word and the player tries to guess it by suggesting letters. With each incorrect guess, a line is added to hangman drawing. If the picture is complete, player loses. To win, player has to correctly guess all letters in a word.

## Features

* Lots of gamemodes for words on different themes and topics.
* More than 2500 English and 2000 Russian words.
* 15 English and 15 Russian topics. Topics can be shuffled and chosen randomly.
* Words to guess are chosen randomly from files.
* Sound effects when interacting with game's GUI.
* Fullscreen and Windowed modes, app is responsive to different window sizes.
* Application supports dynamic translations.
* Currently, the game is available in English and Russian.

## Screenshots

Gameplay

![alt text](assets/en_US/gameplay.jpg)

Main Menu of the application

![alt text](assets/en_US/menu.jpg)

Player has successfully guessed a word

![alt text](assets/en_US/victory.jpg)

Player has failed to guess a word

![alt text](assets/en_US/defeat.jpg)

## Building Source Code
App supports building for Windows, Linux, Android and WebAssembly (using Qt for WebAssembly).
Minimal supported Qt version is Qt 5.10. Maximum tested Qt version for building the app is Qt 6.7.2
1. Download and install Qt5.10+/Qt6, Qt Creator and MinGW compiler.
2. Configure Qt Creator Kit for Desktop or target device.
3. Clone the repo.
```sh
git clone https://github.com/Dariarty/Hangman_Game_Qt.git
```
4. Open src/hangman_game.pro in Qt Creator.
5. Run lrelease tool to read the TS files and produce the QM translation files.
Qt Creator > Tools > External > Linguist > Release Translations (lrelease)
7. Run qmake.
8. Build the project in Qt Creator.

## Attributions

Application Icon is designed by Freepik

## License

Distributed under the MIT License. See [LICENSE](LICENSE) for more information.