Skip to content
No description, website, or topics provided.
JavaScript CSS HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css
js
gamePage.jpg
index.html
landingPage.jpg
readme.md

readme.md

Project 1: Two Player Memory Game

Rules: Player one gets three boxes determine a pattern, player two must copy the pattern in the order at which they were clicked. If player two matches, the grid grows for player one.

Technologies used

Javascript Libraries:jQuery

Wireframes

Landing Page

Landing Page

Game Page

Game Page

Approach

I defined two objects containing player one and player two's sequence of indexes clicked. If those two arrays matched after 3 divs were clicked on, then a check was run to see if we should continue the game and make the grid bigger, or end the game and start again.

Hopes and Dreams

Switching background color for every other click, designing a prettier alert (modal) when player loses, and animating the game board for each player switch.

You can’t perform that action at this time.