Skip to content

asbren13/hangman-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hangman Game

This game is created with AngularJS and Node.js.

Rules:

• When the game is started, the player is represented with an empty field for each letter in the word.

• When the player guesses a letter correctly, each field that represents that letter is filled with the letter.

• When the player guesses a letter incorrectly, a piece of a gallows with a hanging man is drawn.

• After 10 incorrect guesses, the game is over and the player lost.

• Thus, there should be 10 different states of the gallows to be drawn.

• If all fields are filled with their letter before 10 incorrect guesses, the player has won the game.

Technology requirements:

• Server/client based with the client being the browser

• Client implemented with AngularJS

• Server implemented with NodeJS

• Business logic executed on the server (so nobody can cheat)

• Allow for keeping simple statistics (games won/lost)

• Game is self-contained

• Game must scale to millions of users

Viewing this Game

• This game is hosted live here.

• To run locally, clone this repo and run npm install and then npm start.

Releases

No releases published

Packages

No packages published