Skip to content

FOSSCLUB-LBSITW/Memory-block-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 

FIRST TIME IN LBSITW: Hack the Stack

image

This is Exclusive for LBTIANS !

Happy coding

Memory-block-game

Contributed by Meenakshi A M,IT Department LBSITW

A fun and interactive memory game built with HTML, CSS, and JavaScript. Flip blocks to reveal hidden images and match pairs to win the game!

A "Memory Block" game, built using HTML, CSS, and JavaScript, is a classic matching game where players must flip over pairs of blocks to reveal hidden images, aiming to find matching pairs by memory alone. The game typically features a grid of blocks, each initially displaying a blank face, and the player clicks on blocks to flip them over, revealing an image underneath. If the two flipped blocks match, they stay revealed; if not, they flip back over, and the player continues clicking to find more pairs.

Features

  • Images are shuffled each time the game starts for a unique experience.
  • Blocks flip to reveal images, providing smooth gameplay.
  • Easily restart the game with a new shuffled arrangement by clicking on the `new game` button.
  • Project Structure

    HTML | CSS |JavaScript

    Clone the repository:

    git clone https://github.com/FOSSCLUB-LBSITW/Memory-block-game.git
    
    

    Navigate to the project directory:

    cd Memory-block-game-main/code
    
    

    -> Open index.html in your browser to play the game.

    Usage

    Game Setup : Open the game in a browser. Blocks are displayed in a grid, each hiding a shuffled image. Playing the Game: Click on blocks to flip and reveal images. Match pairs of identical images to keep them face-up. New Game: Press the "New Game" button to reset the board with a new random arrangement of images.

    Example Screenshot

    Screenshot 2024-10-26 120459

    About

    No description, website, or topics provided.

    Resources

    License

    Code of conduct

    Contributing

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

     
     
     

    Contributors