/hangman-web

Hangman Game Web App

Primary LanguageVue

Hangman - The Game

Frontend of an application for the Hangman game.
Web application built using Javascript with Vue.js.
The backend that this web application consumes can be found in the following repository Backend.
If you want to know more about the Hangman game go to Wikipedia.

Prerequisites

  • npm >= 5.5.0
  • node >= 9.3.0

How to build

$ git clone https://github.com/leonardongl/hangman-web.git
$ cd hangman-web
$ cp .env.example .env.local
$ npm install
$ npm start
  • You may need to set the environment variables in .env.local according to the API you will consume
  • You can set according to your backend build or using the online API https://damp-depths-34440.herokuapp.com/

How to play

  • You can build the application and play offline or simply access Hangman.
  • When starting the game, you will be given a random word to guess.
  • Click on one of the letters you think you might have in the word.
  • If the letter exists in the word, it will appear in the exact position and will be green in the virtual keyboard.
  • If the letter does not exist, it will appear in the INCORRECT LETTERS area and will be red in the virtual keyboard.
  • If you miss 7 letters, YOU LOSE!

Author

👤 Leonardo Augusto Noronha Leão