Skip to content

Michellemnfrt/project1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

project1

Git Hub Pages can be found at https://michellemnfrt.github.io/project1/

The Goal of this project is to create a functional memory card game that allows you to flip two different cards and assess to see if they match. If they do match both cards should disappear. If they do not match they should flip back over.

The logic behind the game is as follows

  1. Add function to all cards so that the click does something
  2. Add Eventlistener to change picture when clicked (create function to do this)
  3. Keep first clicked picture displayed
  4. Compare second picture to first picture
  5. If there is a match make them dissapear
  6. If there is no match make them flip back over
  7. Repeat steps 5 and 6 until there are no cards
  8. Alert game over

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published