A modern take on the classic Hangman game built with Next.js and deployed on Vercel.
Check out the live version of the project here:
Hangman Game - Live
- Interactive Gameplay: Guess the hidden word one letter at a time.
- Multiple Difficulty Levels: Different word lengths for varying challenge levels.
- Responsive Design: Play the game on any device—desktop, tablet, or mobile.
- Customizable: Ready for enhancements like score tracking and hints.
- Frontend: Next.js
- Styling: Tailwind CSS
- Deployment: Vercel
-
Clone the repository:
git clone https://github.com/yusuf7861/hangman-project.git cd hangman-project
-
Install dependencies:
npm install # or if you prefer yarn yarn install
-
Start the development server:
npm run dev # or yarn dev
-
Open your browser and navigate to
http://localhost:3000
.
This project is deployed on Vercel. You can easily deploy your own version by following these steps:
- Push your code to a GitHub repository.
- Connect your GitHub account to Vercel.
- Import your repository on Vercel and deploy.
Contributions are welcome! If you’d like to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes and commit (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Open a Pull Request.
-
Run the linter to ensure consistent code:
npm run lint
-
Build for production to test the build:
npm run build
-
Run the production build locally:
npm start
Feel free to contribute.