Skip to content

Hangman game built with Vite + React + Typescript

Notifications You must be signed in to change notification settings

eric22f/hangman

Repository files navigation

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

About

Hangman game built with Vite + React + Typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published