Simple JAVA Memory Matching Game

Memory Matching Game

-Using Java Swing

-Write a GUI version of a card matching game using the swing package.

Your program should have 4 rows and 4 columns of cards that have an image that is hidden when the cards are face down. (Note: The cards can have another image facing up like a real deck has on the back)

-The game is played by clicking on two cards which are face down. If they match, they stay visible.

-If they don't match, they will need to be flipped back face down before choosing another card.

-There should be a "Continue" button which flips back two non-matching cards.

-If you click on a "face up" card, it should just be ignored.

-The "Continue" button should not flip cards when only one has been flipped up. It should only flip cards to the hidden side if there are two non-matching cards turned up.

-The number of attempts and the number of matches should be counted and displayed per game.

-An attempt is incremented when 2 cards have been flipped up, regardless of match/mismatch.

-The score is calculated as attempts/matches. (Keep in mind division by zero)

-When the user chooses to end the game, they should be asked to confirm their choice.

-If they say YES, they should see a sentence that uses their score to assess the player’s memorizing ability before the program exits.

The game will need at least the following:

-A 2 Dimensional Board of Cards

-Labels to display Status, Matches, Attempts, Score


One to flip the cards back over so their matchable images are hidden

One to end the game. (Remember to confirm the choice before exiting)

Create and use Card class that extends the JButton class. It should have at least the following:

Instance variables:

-ImageIcon imageIcon

-String imagePath



Overloaded Constructor that takes in the imagePath as a String




equals(Object o)

Syntax Hint For creating a scaled image that will load fast and fit on your Card:

ImageIcon ic_reg = new ImageIcon("images/[login to view URL]");

ImageIcon ic_logo = new ImageIcon(((Image) [login to view URL]()).getScaledInstance(70, 70, Image.SCALE_FAST));

To set the ImageIcon on a JButton object just call the setIcon method and

pass in the name of the ImageIcon object you created.

Score conditions to be used for the end of game status:

score > 97 AMAZING

score > 80 Excellent

score > 60 OK

score > 30 lacking

score >10 suffering

Score >=0 Mind has escaped

Program should be as simple as possible.

Навички: Кодування, Java, Програмування, Swing (Java)

Деталі: javafx memory game, java memory game with images, picture matching game java code, create memory game in java, java memory game gui, card matching game java, java concentration game code, how to make a matching card game in java, java memory card game, simple java client server game, simple java code blackjack game, simple java main menu game, memory matching game android, simple java multiplayer fighting game, as3 memory matching game, simple java sliding squares game, memory matching game flash as3, memory matching game ipad, memory matching game as3, flash memory matching game as3

Про роботодавця:
( 2 відгуки(-ів) ) Amityville, United States

ID Проекту: #17229766



Hi there, I do Java programming and I would like to do this project if given the opportunity. I went through the requirements and I am confident to do implement the GUI based card matching game. Let me know if you are Більше

$50 USD за 1 день
(1034 відгуків(-и))

12 фрілансерів(-и) у середньому готові виконати цю роботу за $135


Hello Sir/ Ma’am We are a group of Software Engineers having 10+ years of experience. Expert in JAVA, C, C++ , C# , ANDROID, MATLAB. Please check our profile for reference. Thank you

$155 USD за 3 дні(-в)
(214 відгуків(и))

Hello this is Asad, i have a vast experience in java programming, if you need an A grade in your assignment, contact me.

$144 USD за 2 дні(-в)
(84 відгуків(и))
$200 USD за 3 дні(-в)
(46 відгуків(и))
$45 USD за 3 дні(-в)
(51 відгуків(и))

Hey there, Don't go for cheap ones. Hire me if you want quality work. Feel free to inbox me any time.

$100 USD за 4 дні(-в)
(39 відгуків(и))

my 2nd top level skill is java i already have this memory matching game( flip flop) in c#... i will convert it in java... and can give you as early as poosible... thanks

$100 USD за 3 дні(-в)
(19 відгуків(и))

Java Expert!.................................................................................................................................................................................

$300 USD за 3 дні(-в)
(11 відгуків(и))
$30 USD за 3 дні(-в)
(2 відгуків(и))
$222 USD за 3 дні(-в)
(1 відгук)

I work in a co-working environment so I can complete this project with speed & accuracy. I will done your project in full professional way according to your requirements and my creative ideas. I am doing development fr Більше

$111 USD за 3 дні(-в)
(0 відгуків(и))
$166 USD за 4 дні(-в)
(0 відгуків(и))