Skip to content

A collection of educational and entertaining web-based games built with vanilla HTML, CSS, and JavaScript. All games run entirely in the browser with no server dependencies.

License

Notifications You must be signed in to change notification settings

romitagl/web-games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Games Collection 🎮

A collection of educational and entertaining web-based games built with vanilla HTML, CSS, and JavaScript. All games run entirely in the browser with no server dependencies.

🎯 Available Games

Word Association Challenge 🧠

Play Now

An interactive vocabulary learning game that helps improve English word knowledge through definition matching challenges.

Features:

  • 3 difficulty levels (Easy, Medium, Hard)
  • Multiple categories (General, Academic, Business)
  • Smart word selection with spaced repetition
  • Progress tracking with 1-year cookie storage
  • Mobile-first responsive design
  • Offline gameplay

Technology: Vanilla JavaScript, CSS Grid/Flexbox, Web APIs Target Audience: Language learners, students, vocabulary enthusiasts


🏗️ Architecture Principles

Design Philosophy

  • Vanilla Web Technologies: Pure HTML, CSS, and JavaScript - no frameworks or build tools
  • Mobile-First: Optimized primarily for iOS and Android devices
  • Privacy-Friendly: Local storage only, no external tracking or analytics
  • Accessibility: WCAG 2.1 compliant with keyboard navigation and screen reader support
  • Progressive Enhancement: Core functionality works across all modern browsers

Technical Standards

  • Responsive Design: Fluid layouts from 320px mobile to desktop
  • Touch-Optimized: 44px minimum tap targets, gesture-friendly interfaces
  • Performance-Focused: Lightweight assets, efficient algorithms, lazy loading
  • Sustainable Code: Modular architecture for easy maintenance and extension

📱 Browser Support

  • iOS Safari 12+ (primary mobile target)
  • Android Chrome 80+ (primary mobile target)
  • Desktop: Chrome 80+, Firefox 75+, Safari 13+, Edge 80+
  • Progressive Enhancement: Graceful degradation for older browsers

🚀 Getting Started

For Players

Each game is hosted on GitHub Pages and accessible directly through web browsers:

  1. Visit the game's live demo link
  2. Games work offline after initial load
  3. Progress is saved locally in your browser
  4. No accounts or installations required

For Developers

All games are open source and easy to run locally:

# Clone the repository
git clone https://github.com/romitagl/web-games.git

# Navigate to any game
cd web-games/word-association-challenge

# Serve locally (Python example)
python -m http.server 8000

# Open in browser
open http://localhost:8000

📊 Game Statistics

Game Status Technology Mobile Offline Progress
Word Association Challenge ✅ Live Vanilla JS Cookies

🔒 Privacy & Security

Data Handling

  • Local Storage Only: All user data stored in browser cookies/localStorage
  • No External Requests: Games run entirely offline after initial load
  • Transparent Privacy: Clear notices about what data is stored locally
  • User Control: Easy progress reset and data export options

📖 Educational Use

These games are designed to be educational resources:

For Students

  • Self-Paced Learning: Progress at your own speed with saved progress
  • Immediate Feedback: Learn from mistakes with detailed explanations
  • Gamified Progress: Streaks, levels, and achievements motivate continued learning
  • Mobile Learning: Study anywhere with responsive mobile design

For Educators

  • Classroom Integration: Games work on school networks without external dependencies
  • Progress Tracking: Students can monitor their own improvement over time
  • Differentiated Learning: Multiple difficulty levels accommodate various skill levels
  • No Setup Required: Direct browser access without installations or accounts

For Parents

  • Safe Environment: No ads, tracking, or external communications
  • Educational Value: Research-backed learning techniques like spaced repetition
  • Screen Time Quality: Productive entertainment that builds real skills
  • Offline Capability: Learning continues without internet connection

📚 Resources

Learning Resources

Design Inspiration

Development Tools

🔄 Roadmap

  • Math Challenge Game: Arithmetic skills with adaptive difficulty
  • Memory Palace: Visual memory training with spaced repetition
  • Code Breaker: Logic puzzles and pattern recognition

About

A collection of educational and entertaining web-based games built with vanilla HTML, CSS, and JavaScript. All games run entirely in the browser with no server dependencies.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published