A fun, interactive word-guessing game built with vanilla JavaScript. Players reveal hidden phrases by guessing letters before running out of lives.
- 🎲 Random phrase selection
- ⌨️ On-screen keyboard + physical keyboard support
- ❤️ 5-life system with visual feedback
- 📱 Fully responsive design
- ♿ Accessibility-friendly with ARIA labels
- 🔄 Instant game reset
- HTML5 - Semantic markup
- CSS3 - Custom properties, flexbox, smooth transitions
- JavaScript (ES6) - Pure vanilla JS, no frameworks
- Node.js - Build tooling only
# Clone the repository
git clone https://github.com/brianwalkerdev/phrase-guessing-game-javascript-app.git
cd phrase-guessing-game-javascript-app
# Option 1: Open directly in browser
open index.html
# Option 2: Run local server (requires Python 3)
npm startThen visit http://localhost:8080 and start playing!
npm run buildThis creates a dist/ folder ready for deployment.
GitHub Pages
git subtree push --prefix dist origin gh-pagesNetlify
- Drag and drop the
dist/folder to Netlify Drop - Or connect your repo for continuous deployment
Vercel
vercel --prodThe project is a static site with zero dependencies—easy to host anywhere!
phrase-guessing-game-javascript-app/
├── index.html # Main HTML file
├── css/ # Stylesheets
│ ├── styles.css # Custom styles
│ └── normalize.css # CSS reset
├── js/ # Game logic
│ └── main.js # Core JavaScript
├── images/ # Game assets
├── screenshots/ # Project thumbnails
├── scripts/ # Build script
└── package.json # Project metadata
MIT License - see LICENSE for details.
Brian Walker - Entry-Level Developer
- Portfolio: brianwalker.dev
- GitHub: @brianwalkerdev
- Email: brian@brianwalker.dev
⭐ Star this repo if you found it helpful!