Skip to content

Tejasgaware17/React-Typescript-Hangman-Game

Repository files navigation

Assembly Hangman Game

A fully interactive word-guessing game built with React and TypeScript, featuring state-driven UI updates and accessibility-focused design.

React TypeScript GitHub Actions Status


🔗 Live Demo

Deployed with automated CI/CD using GitHub Actions

👉 View Live Application


📌 Project Overview

Assembly Hangman Game is a fully functional browser-based word guessing game built with React and TypeScript.

Developed as part of Scrimba's React and TypeScript curriculum (6+ hours of practical challenges), this project focuses on applying core React principles to build an interactive, state-driven application with clean UI structure and accessibility best practices.

The application demonstrates component-based architecture, real-time UI updates, and structured game logic implementation.


🖼️ Project Gallery

React Assembly Hangman Game Screenshot

Interactive Hangman game interface with dynamic state updates


✨ Features

  • Real-time UI updates powered by React state management
  • Structured component-based architecture
  • Keyboard-driven letter selection system
  • Automated win and loss detection logic
  • Accessibility-focused implementation
  • Responsive and clean visual layout

🛠️ Tech Stack

  • React 18+
  • TypeScript 4+
  • CSS
  • Git & GitHub
  • GitHub Actions (CI/CD)
  • GitHub Pages (Hosting)

🚀 Installation & Setup

Prerequisites

  • Node.js (v16 or higher recommended)

Steps

git clone https://github.com/Tejasgaware17/React-Typescript-Hangman-Game.git

cd React-Typescript-Hangman-Game

npm install

npm run dev

🚀 Deployment

This project uses GitHub Actions for continuous integration and deployment.

Every push to the main branch automatically:

  • Installs dependencies
  • Builds the production bundle
  • Deploys the application to GitHub Pages

This ensures a streamlined and automated deployment workflow.


📚 Learning Outcomes

Through this project, I:

  • Strengthened my understanding of React fundamentals (state, props, component structure)
  • Applied component-driven architecture principles
  • Integrated UI designs into a functional React application
  • Implemented accessibility best practices
  • Reinforced TypeScript fundamentals within a real-world project
  • Improved problem-solving through structured practical challenges

About

React + TypeScript Hangman game built with Vite, featuring accessible design, dynamic UI updates, state management, and interactive gameplay.

Topics

Resources

Stars

Watchers

Forks

Contributors