/Hangman-Javascript

A simple Javascript "pendu" (Hangman) game with an html/css interface and different difficulties (French words dictionary)

Primary LanguageJavaScript

GWP Logo Large

😵 Hangman game (Le pendu) !

A simple Javascript Hangman (Pendu) game with an html/css interface and different difficulties (French words dictionary)

(The code is still a bit messy in some places, please don't judge it too harshly 😔)

💡Note: This project was made during my web development training 👍

🥇Objective

Your objective is to guess the secret word by finding one by one the letters that compose it, while making the minimum possible mistakes !

🖼Screenshots

📱Responsive

This project is also fully responsive (except for the Apple watch 😔)

🧰Technologies

HTML5 CSS3 JavaScript

Visual Studio Code Logo

📜How to change the words list

You can change the words list by rewriting the dictionnaire array variable inside the scripts\dictionary.js file. Like this:

  var dictionnaire = [ "Word" , "Multiple words" , "Composed-Word", "Wow' BG Gersigno" ...];

🛡️What's handled by the code?

The code supports non-alphabetic characters (like -, ', white spaces etc..), theses characters will be shown anyway at the beginning of the game. Duplicated letters are also supported.

🧐Support

For support, email contact.gersigno@gmail.com or join the discord server.