GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - codingwithnsh/MemoryGame: The Memory Game – Flipping Tiles is a Java-based game that challenges players to remember and match pairs of tiles. It utilizes Swing for the graphical interface and array-based logic for shuffling, flipping, and comparing tiles, helping to sharpen one's short-term memory.

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
code
code
 
 
README.md
README.md
 
 
sample ui.png
sample ui.png
 
 

Repository files navigation

Memory Game – Flipping Tiles

A straightforward Memory Game where you flip tiles to find matching pairs.

Abstract

• Java-based mind game implemented with Swing.
• An even number of tiles is laid out in a grid. Each color/number/label appears on two tiles.
• Flip two tiles at a time. If they match, they stay revealed; if not, they reset.
• This game is designed to exercise and improve memory.

Technologies Required

• Java 8 or higher
• Java Swing: for GUI components
• Java OOP concepts
• ArrayList: to store tile values and shuffle them for random placement

Instructions

  1. Compile and run the code:
    javac com/example/memorygame/MemoryGame.java
    java com.example.memorygame.MemoryGame
  2. A 4×4 grid with 16 tiles appears. Click on two tiles to flip them:
    • If they match, they remain turned over.
    • If not, they flip back after a short delay.
  3. Keep matching until all tiles are revealed.

Enjoy testing your memory!

About

The Memory Game – Flipping Tiles is a Java-based game that challenges players to remember and match pairs of tiles. It utilizes Swing for the graphical interface and array-based logic for shuffling, flipping, and comparing tiles, helping to sharpen one's short-term memory.

Topics

javajava-8java-gamejava-game-developmentjava-gamesjava-games-examplesjava8memory-game

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.