Skip to content

Hangman Game is an engaging word guessing game written in TypeScript, featuring interactive gameplay, lives counter, and start/stop/restart functionality

Notifications You must be signed in to change notification settings

bek77g/hangman-game

Repository files navigation

Hangman Game

Hangman Game

Hangman Game is a captivating word guessing game implemented in TypeScript (Vanilla) with the necessary functionality to start, stop, and end the game.

The idea and initial work for this game were inspired by the talented developer Arseniy Pomazkov. You can find more of his work on his website: Arseniy Pomazkov and his GitHub repository: arseniypom.

Features

  • 🎮 Interactive gameplay where players guess letters to uncover a hidden word.
  • ❤️ Lives counter that decreases with each incorrect guess.
  • 🏆 Game over when the player runs out of lives or successfully guesses the word.
  • ⏯️ Start, stop, and restart functionality to control the game flow.

Website

The Hangman Game website is hosted on GitHub Pages. You can access the game by visiting the following link: Hangman Game

Installation

  1. Clone the repository: git clone https://github.com/bek77g/hangman-game.git
  2. Navigate to the project directory: cd hangman-game
  3. Install dependencies: npm install

Usage

  1. Start the development server: npm run dev
  2. Vite will automatically open your default browser with the local server running. You can view the game by following the URL shown in the console, which will include a randomly assigned port number.

Dependencies

This project relies on the following dependencies:

  • Autoprefixer: A CSS post-processor that adds vendor prefixes automatically.
  • PostCSS: A tool for transforming CSS with JavaScript.
  • Tailwind CSS: A utility-first CSS framework.
  • TypeScript: A typed superset of JavaScript that compiles to plain JavaScript.
  • Vite: A fast development server and build tool for modern web applications.

Contributing

Contributions from the community are welcome! If you'd like to contribute to the project, please review the contribution guidelines and submit your proposals.

License

This project is licensed under the MIT License.

About

Hangman Game is an engaging word guessing game written in TypeScript, featuring interactive gameplay, lives counter, and start/stop/restart functionality

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages