Skip to content

renm10/Hangman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hangman Console Game

jpn

This is the famous hangman game made in C++ from scratch playable on the console.
It utilizes the Random word API to fetch random words and curl to process HTTP requests.

Objective

The player's objective is to guess the hidden word.

How to Play

  1. The player starts by guessing one alphabet a time.
    1. If the alphabet exists in the hidden word, all instanes of the alphabet is revealed.
    2. If the alphabet does not exist, the player has missed.
  2. If the player is able to guess the word before 6 tries the player WINS
  3. If not the player LOSES

Rules

  1. Player can guess alphabets only (a ~ z).
  2. Player has 6 tries total.
  3. Every guess of the alphabet has to be unique. NOT THE SAME

Requirements

curl

Compile and Run

  1. Compile
    g++ main.cpp -o programName -lcurl
    
  2. Run
    ./programName
    

Screenshots

HangmanTitle
HangmanLoss
HangmanError

About

Hangman made with C++ utilizing an API

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages