fb
$20 Bonus + 25% OFF
$20 Bonus + 25% OFF
Securing Higher Grades Costing Your Pocket? Book Your Assignment at The Lowest Price Now!
loader
Add File

Error goes here

Files Missing!

Please upload all relevant files for quick & complete assistance.

Stuck on Your Question?

Get 24x7 live help from our Top Tutors. All subjects covered.

250 words

Error goes here

Students Who Viewed This Also Studied

1 Page
Management

Write a program that asks a user to enter an integer between 1 and 10. Continue to prompt the user while the value entered does NOT fall within this range. When the user is successful, display a congr ...

Type

Programming

Subject

Programing

4 Pages
Business Management

For your resit assignment you should review your previous feedback for this assignment and address the issues raised in it. Your task is produce a OSG based viewer application that allows you to load ...

Type

Assignment

Subject

Programing

159 Pages
CMS3503 Machine Learning

Question: Please pay special attention to the assessment regulations (section 4) on Academic Misconduct In brief: ensure that you; 1.DO NOT use the work of another student - this includes students ...

Course

CMS3503

Type

Programming

Subject

Programing

University

University of Huddersfield

42 Pages
TTTK1143 Program Design

Based on these classes, identify all related (dynamic and static) attributes and methods so that:•Every vehicle must have an owner.•A person can own many vehicles.•An ordinarystaff can ...

Subject

Programing

University

Open University Malaysia

CST8219 Computer Engineering Technology

Question

Answered

For this project, you will create a memory game using various shapes. The user interface should show 20 cards, in 5 rows and 4 columns. The user can click on a card and see what is on the other side. The user then clicks on a second card to see what shape is under that card. If the two cards match, then they are removed from the interface and some happy sound file should be played. Otherwise, they should be flipped over and the user can continue clicking on cards, and a sad sound file should be played. It should look something like this:

You must use the Simple and Fast Multimedia Library (SFML) for drawing pictures, playing sounds, and listening for mouse input from the user.

 

Requirements:

1. The memory game has 20 cards, arranged in 5 rows and 4 columns. At the start of the game, the cards all show the same back of the card. The other side of the card can be any picture you want.

 

2. Clicking on the mouse on a card turns it over to show the shape underneath. The user can then click on a second card to reveal its hidden shape. If the shapes are the same, then the two cards are removed and a happy sound clip is played, otherwise they are turned over again to show the back of the card and a sad sound clip is played. There should be a 3 second pause to show the user what they clicked on before removing them or turning them back over.

 

3. When all of the cards are removed from the game, there should be a final message showing how many turns it took to remove all of the cards, and there should be some kind of celebration sound clip. There should be a button to start a new game, which picks all new cards and picks a new random placement. SFML doesn’t actually have a button class so you will have to use a sfml::Texture object which shows a PNG or JPG file that says “Do you want to play again”.

 

All of the classes you write should be enclosed in a namespace called FinalProject. You should probably have a Game class which keeps track of the score, and the cards, and a Card class which keeps track of the picture it shows, along with the row and column where it should be draw

CST8219 Computer Engineering Technology

Answer in Detail

Solved by qualified expert

Get Access to This Answer

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.

Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.

Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.

Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.

18 More Pages to Come in This Document. Get access to the complete answer.

MyAssignmenthelp.com has become one of the top class MBA essay writing services in the USA. Students prefer hiring our essay writing service as we provide affordable services. Despite delivering services at a cheap rate, we never compromise with the quality of our services. We render best quality essay help on more than 100 subjects. Students prefer hiring us, as we deliver solutions on time and have provisions to assist them with fast assignment solutions. Hence, with continuous support from students, we have become one of the top essay writing companies.

More CST8219 CST8219 Computer Engineering Technology: Questions & Answers

Q

Write a program that asks a user to enter an integer between 1 and 10. Continue to prompt the user while the value entered does NOT fall within this range. When the user is successful, display a congratulatory message. Save as OneToTen.cpp ...

View Answer
Q

For your resit assignment you should review your previous feedback for this assignment and address the issues raised in it. Your task is produce a OSG based viewer application that allows you to load and explore a structured scene file and enact, within this environment, object creation and manipula ...

View Answer
Q
icon

We aren't endorsed by this University

Question: Please pay special attention to the assessment regulations (section 4) on Academic Misconduct In brief: ensure that you; 1.DO NOT use the work of another student - this includes students from previous years and other institutions, as well as current students on the module. 2.DO NOT ma ...

View Answer
Q
icon

We aren't endorsed by this University

Based on these classes, identify all related (dynamic and static) attributes and methods so that:•Every vehicle must have an owner.•A person can own many vehicles.•An ordinarystaff can be appointed as a management staff.•Once the management appointment is over, a management staff ...

View Answer

Content Removal Request

If you are the original writer of this content and no longer wish to have your work published on Myassignmenthelp.com then please raise the content removal request.

Choose Our Best Expert to Help You

expert
student rating student rating student rating student rating student rating
Jace Lewis

PhD in Economics

2391 - Completed Orders

Hire Me
expert
student rating student rating student rating student rating student rating
Maurice Hogan

PhD in Economics with specialization in macroeconomics policy

176 - Completed Orders

Hire Me
expert
student rating student rating student rating student rating student rating
Alexander Waugh

Master of Mathematics

2804 - Completed Orders

Hire Me
expert
student rating student rating student rating student rating student rating
Alexander Frey

I have acquired my Master’s Degree in Economics from the University of Cambridge

100 - Completed Orders

Hire Me

Still in Two Minds? The Proof is in Numbers!

33845 Genuine Reviews With a Rating of 4.9/5.

student rating student rating student rating student rating student rating
04 Dec 2021

It Write Up

Essay: 2 Pages, Deadline: 22 hours

expert finish the assignment on the time. Looks the assignment meet the requirement as per my request.

flag User ID: 5***87 Malaysia

student rating student rating student rating student rating student rating
03 Dec 2021

Marketing

Assignment: 12 Pages, Deadline: 2 days

very very good. also very willing to help out with escalations and reviewing the assignment for me.

flag User ID: 8***21 Singapore

student rating student rating student rating student rating student rating
03 Dec 2021

Marketing

Assignment: 6 Pages, Deadline: 7 days

The assignment provided was great. i had given one less start because the assignment is still not graded

flag User ID: 8***14 Mississauga, Canada

student rating student rating student rating student rating student rating
03 Dec 2021

Assignment

Essay: 2 Pages, Deadline: 4 days

Hi Thank you so much for your help today i got very high score I am so happy thanks again

flag User ID: 2***93 Melbourne, Australia

student rating student rating student rating student rating student rating
03 Dec 2021

Economics

Assignment: 4 Pages, Deadline: 13 days

I just got my result published today. I scored a pretty good mark on this assignment.

flag User ID: 5***78 Australia

student rating student rating student rating student rating student rating
03 Dec 2021

Management

Thesis: 1 Page, Deadline: 5 days

great job I was very satisfied all went through without any problems, thank you so much for your help

flag User ID: 6***06 United Kingdom, Great Britain

student rating student rating student rating student rating student rating
03 Dec 2021

Assignment

Essay: 1 Page, Deadline: 19 days

Writer did a great job. Very informative and thorough. Very Impressive. Thank you.

flag User ID: 7***39 United States

student rating student rating student rating student rating student rating
03 Dec 2021

Statistics

Programming: 2 Pages, Deadline: 1 hour

I am very Satisfied with the help I received. I Highly recommend them for any study help

flag User ID: 2***79 Pawtucket, United States

student rating student rating student rating student rating student rating
03 Dec 2021

Management

Essay: 5 Pages, Deadline: 21 days

It is a good writing with reliable sources and meet the deadline earlier than I expected. Such a good job

flag User ID: 5***30 Canada

student rating student rating student rating student rating student rating
03 Dec 2021

Mechanical Engineering

Home Work: 1 Page, Deadline: 27 days

Made a 69% but worked really hard! I think the option for 2 experts should be available.

flag User ID: 6***06 Atlanta, United States

student rating student rating student rating student rating student rating
04 Dec 2021

It Write Up

Essay: 2 Pages, Deadline: 22 hours

expert finish the assignment on the time. Looks the assignment meet the requirement as per my request.

flag User ID: 5***87 Malaysia

student rating student rating student rating student rating student rating
03 Dec 2021

Marketing

Assignment: 12 Pages, Deadline: 2 days

very very good. also very willing to help out with escalations and reviewing the assignment for me.

flag User ID: 8***21 Singapore

student rating student rating student rating student rating student rating
03 Dec 2021

Marketing

Assignment: 6 Pages, Deadline: 7 days

The assignment provided was great. i had given one less start because the assignment is still not graded

flag User ID: 8***14 Mississauga, Canada

student rating student rating student rating student rating student rating
03 Dec 2021

Assignment

Essay: 2 Pages, Deadline: 4 days

Hi Thank you so much for your help today i got very high score I am so happy thanks again

flag User ID: 2***93 Melbourne, Australia

student rating student rating student rating student rating student rating
03 Dec 2021

Economics

Assignment: 4 Pages, Deadline: 13 days

I just got my result published today. I scored a pretty good mark on this assignment.

flag User ID: 5***78 Australia

student rating student rating student rating student rating student rating
03 Dec 2021

Management

Thesis: 1 Page, Deadline: 5 days

great job I was very satisfied all went through without any problems, thank you so much for your help

flag User ID: 6***06 United Kingdom, Great Britain

student rating student rating student rating student rating student rating
03 Dec 2021

Assignment

Essay: 1 Page, Deadline: 19 days

Writer did a great job. Very informative and thorough. Very Impressive. Thank you.

flag User ID: 7***39 United States

student rating student rating student rating student rating student rating
03 Dec 2021

Statistics

Programming: 2 Pages, Deadline: 1 hour

I am very Satisfied with the help I received. I Highly recommend them for any study help

flag User ID: 2***79 Pawtucket, United States

student rating student rating student rating student rating student rating
03 Dec 2021

Management

Essay: 5 Pages, Deadline: 21 days

It is a good writing with reliable sources and meet the deadline earlier than I expected. Such a good job

flag User ID: 5***30 Canada

student rating student rating student rating student rating student rating
03 Dec 2021

Mechanical Engineering

Home Work: 1 Page, Deadline: 27 days

Made a 69% but worked really hard! I think the option for 2 experts should be available.

flag User ID: 6***06 Atlanta, United States

5% Cashback

On APP - grab it while it lasts!

Download app now

*Offer eligible for first 3 orders ordered through app!

ribbon
callback request mobile
Have any Query?