Memory-Game-

Memory Game

A responsive and accessible Memory (Concentration) card game built with HTML, CSS, and JavaScript.

Features

How to Play

  1. Open memory-game.html in a web browser
  2. Click or use keyboard (Tab + Enter/Space) to flip cards
  3. Find matching pairs to win
  4. Try to complete the game with as few moves as possible
  5. Switch between 4x4 and 6x6 grids using the buttons

Technical Details

Development

  1. Clone the repository
  2. Open memory-game.html in a web browser
  3. Or serve using a local HTTP server:
    python3 -m http.server 8000
    
  4. Visit http://localhost:8000/memory-game.html

Hangman

The repository also includes a standalone Hangman game in hangman.html.

  1. Open hangman.html directly in a browser, or use the local server above.
  2. Guess letters with the on-screen keyboard or your physical keyboard.
  3. Solve the word before making six incorrect guesses.
  4. Select New Word to start another round. Use the appearance toggle to switch between light and dark themes.

The word list and game code are contained in the HTML file; no internet connection or external dependencies are needed.