Skip to content

MozartSoares/cpp_hangman_cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

I built a command-line Hangman game to sharpen my C++ fundamentals while practicing clean project organization. The program loads words from a file, manages the game loop with a dedicated class, and demonstrates control flow, standard library containers, and file I/O in a concise codebase.

My goal with this project was to strengthen my comfort with modern C++17 syntax, especially around separating headers/sources, working with STL containers, and structuring reusable game logic. The Hangman domain is simple enough to focus on language mechanics yet rich enough to explore classes, functions, and data-driven behavior.

Development Environment

  • C++17 compiled with g++ and the standard library.
  • Project organized into include/ headers and src/ sources, built via a simple Makefile that outputs artifacts to dist/.
  • Editing and debugging performed with a modern IDE/CLI workflow (VS Code + terminal).

Useful Websites

  • cppreference.com — authoritative reference for standard library classes and functions.
  • cplusplus.com — quick lookups for iostream and string utilities.
  • LearnCpp — refresher on idiomatic class design and header organization.

Future Work

  • Add ASCII art hangman visuals that progress with each wrong guess.
  • Flesh out difficulty settings that change the attempt limit and word pools.
  • Track session statistics (wins, losses, streaks) and persist them between runs.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published