Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.27 KB

File metadata and controls

43 lines (29 loc) · 1.27 KB

Hangman Game

This is a Hangman game built using React, TypeScript, and Vite. The goal of the game is to guess the hidden word by suggesting letters, with up to seven incorrect guesses allowed before you lose the game.

Features

  • React + TypeScript: Provides a strong typing system and modern UI development framework.
  • Vite: Ultra-fast build tool optimized for modern web development.
  • Gameplay: You can make up to seven incorrect guesses before losing.

Gameplay Instructions

  1. The game will start once the page loads.
  2. Guess letters by clicking on them or typing on your keyboard.
  3. You can miss up to seven times before the game is over.

Play the Game

Try the game at the following link:
Play Hangman

Technologies Used

  • React: Frontend UI framework.
  • TypeScript: Type-safe programming language.
  • Vite: Build tool for modern web projects.

Getting Started

Prerequisites

  • Node.js and npm installed on your machine.

Local Installation

  1. Clone the repository:
    git clone https://github.com/eric22f/hangman.git
  2. Navigate to the project directory
  3. Run the following scripts in your terminal window
   npm install
   npm run dev