Milestone project-2: User- Interactive Front-end - Code Institute.
This is a simple Memory Game, where the player can click on cards to match the colours.
As the cards don’t match, it’s not a pair, so It turns them back over. The two cards match it’s a pair! It keeps the cards and can play again.
The player can reset the game at any point of time- It's a single-player game. Language version English.
Start Playing
My goal in the design was to make it as easy as possible, So that player can quickly start the game. ## Scope The Colours should be dynamic, So the player doesn't have the chance to remember the colours.
I wanted the player to be able to quickly understand "How to play".
- HTML
- CSS
- JavaScript
This game is hosted using GitHub pages, deployed directly from the master branch. The deployed site will update automatically upon new commits to the master branch. In order for the site to deploy correctly on GitHub pages, the landing page must be named index.html.
To run locally, you can clone this repository directly into the editor of your choice by pasting git clone https://vinod2rahul.github.io/MS2-MemoryGame into your terminal. To cut ties with this GitHub repository, type git remote rm origin into the terminal.
The site was tested in the following browsers to ensure the site is compatible and responsive.
- Chrome
- Mozilla
- Safari
- Opera
- Internet Explorer
The site was tested in the following devices to ensure the site is compatible and responsive.
- Iphone X
- Google Pixel
- Surface Duo
- Blackberry Playbook The site's HTML, CSS code has been tested in W3C Validator. Responsiveness was tested in Responsinator and Mobile-Friendly Test.
- Clicking on the button where the "Reset" is to test if the game always reset during the game.
- Clicking on all cards to test if they flip.
- Clicking on all the cards fast to test if more than 2 cards can stay flipped at the same time.
- Testing if "YOU WIN!" message will pop up by matching all the cards.
- Testing that all content is visible and responsive on different screen sizes.
I would like to add some more features like adding the username, multiple scores, share your score & many more. For the future I will be adding some difficulty levels through JavaScript to increase the difficulty of the game.
All content and code in this game were written by me.