C++CompletedSlate Blue theme

Hangman

A desktop Hangman application with user accounts, rounds, scoring, progress and leaderboard elements. Implemented with C++ and Qt, including separate supporting services and tests.

C++Qt 6SQLiteGoogleTest
HAHangman
C++Main technology
112Tracked files*
54.h files
27.cpp files

*File metrics count tracked files after excluding common generated build folders. The project status is an editable draft classification.

01 · What it does

What the application does

Capabilities evidenced by project documentation and source structure; some behaviours require platform configuration.

01

Word guessing rounds and scoring.

Word guessing rounds and scoring.

02

Authentication, player progression and leaderboards.

Authentication, player progression and leaderboards.

03

Qt desktop interface and supporting tests.

Qt desktop interface and supporting tests.

02 · Technical structure

How the system works

Technical architecture drawn from the repository and supplied documentation.

01

The project uses C++, Qt 6, SQLite, GoogleTest as its documented technical foundation.

02

The source tree and supplied README describe the primary modules; individual files and runtime behaviour may vary by platform.

04 · Source and design

Implementation examples and code walkthrough

Core guessing behavior and repeat-guess prevention

IS-Hangman/Hangman-Server/HangmanEngine.cppVerified GitHub source excerpt (abridged)
GuessResult HangmanEngine::GuessLetter(char letter) {
    if (secret.empty()) return GuessResult::WrongLetter;
    letter = NormalizeLetter(letter);
    if (correct.count(letter) || wrong.count(letter))
        return GuessResult::AlreadyTried;
    if (secret.find(letter) != std::string::npos) {
        correct.insert(letter);
        RecalculateMistakes();
        return GuessResult::CorrectLetter;
    }
    wrong.insert(letter);
    RecalculateMistakes();
    return GuessResult::WrongLetter;
}

Creating a persistent game

C++

The service creates a game from a stored word and calculates the number of allowed guesses.

IS-Hangman/Hangman-Server/GameService.cppSelected source excerpt
Word word = wordRepo->GetWordById(wordId);
std::string wordName = word.GetName();
std::vector<char> solution(wordName.begin(), wordName.end());
int attempts = static_cast<int>(solution.size()) + 3;
std::string guid = GenerateGuid();
std::string createdAt = CurrentTimestamp();
06 · Technology

Programming languages & stack

C++
Qt 6
SQLite
GoogleTest

Technology overview: C++, Qt 6, SQLite, GoogleTest. The list reflects documented tools, dependencies and proposed components; for planned projects it does not prove implementation.

File types identified: 54 .h, 27 .cpp, 1 .qss

07 · Reality check

Status, evidence & limitations

The project status is based on repository sources and supplied documentation. It may be updated as the project evolves. A published case study is not a certification of production readiness.
  • Features are based on the supplied README and code inventory; no end-to-end runtime certification is implied.
08 · Resources

Project resources

Explore the public repository, source code and project documentation on GitHub.