Brain Wizzz memory game is a game that challenges people visual memory in order to match two cards to clear the board.
Welcome to Brain Wizzz
The wireframes for Brain Wizzz were produced in Lucidchart.
Brain Wizzz Memory game website one landing-page and a pop up modal with game description and 3 difficulty levels to chose from.
- Intuitve instructions modal -easy to use and understand.
- Call to action: Encourage the user to take action.
- Cards: clickable, and turn on click.
- Logic: if the cards match ,they will remain revealed.
- Moves counter: after each move (when two cards turned) the counter updates.
- Congratulations modal -when all the pair have been found this modal will pop up.
- Call to action: encourage the user to take action. Chose a different level.
- Refresh and ifor button will restart the game and the info modal will reappear .
The fonts chosen were 'Josefin' and 'Lobster'.The fall back is sans-serif. The two fonts chosen go really good together and it provides really good contrast .
The color scheme chosen is based on pink,purple and black .The colors are consistent throughout the website .
Brain Wizzz website is set up to be easy to use . It contains features that a user would be fimiliar with ,such as game levels Easy,Medium and Hard.Also user will be able to see the moves he made,how many cards he matched and how long did he take to play.
-
Section dedicated to the game area board where all the cards are loaded for the purpose of playing and matching the cards. Depending on the level chosen it can be 8 , 12 or 16.
-
It includes a Refresh button with the purpose of reloading the page but also loading the game info modal.
-
Section controled with JavaScript that will pop up on loading the page for the user to understand the game and select the desired level of difficulty.
-
Section controled with JavaScript that will pop up on finishing the level and showing the results , for example the cards that have been matched ,time and how many moves.The player will also have a choice of a different level.
Brain Wizzz website will be definetly updated in the future with following :
- Multiple player option will be added;
- Performance stars will be added;
- Best score and best time will be also added to the game
- Timed mode: add a timer to make the game more challenging, i.e. finish game before timer runs out.
-
HTML5 - provides the content and structure for the website.
-
CSS - provides the styling.
-
JavaScript-provides interactivity.
-
Gitpod - used to deploy the website.
-
Github - used to host and edit the website.
Brain Wizzz website has been properly tested ,all the code has been run through the W3C html Validator,W3C CSS Validator and JavaScript Validator. Minor errors were found on the first About us page. After fixing and retesting, no errors were found .
- The responsive design tests were carried out manually with Responsive Design Checker ,I can confirm that all the tests were passed.
- The testing was also done through Google Chrome Dev Tools by selecting a device of your choice as follows :
Brain Wizzz site was tested on the following browsers with no visible issues for the user:
- Google Chrome
- Safari
- Mozilla Firefox
- Appearance, functionality and responsiveness were consistent throughout for a range of browsers and device sizes.
- html 1 error - of empty heading.
- Favicon icon not loading into the console - fixed- the icon could not be found because of the name so renaming it fixed the error .
The website was tested using Google Lighthouse in Chrome Developer Tools to test each of the pages for:
- Performance - How the page will be loading.
- Accessibility - Checking if the website is accessible for all users and how can it be improved.
- Best Practices
- SEO - Search Engine Optimisation. This helps us to understand if the website is optimised for search engine result rankings.
The results are as follows:
- For the Desktop:
- For the Mobile:
The site was deployed to GitHub pages. The steps to deploy a site are as follows:
- In the GitHub repository, navigate to the Settings tab.
- Once in Settings, navigate to the Pages on the left side menu.
The live link to the Github repository can be found here : https://mihayounas.github.io/javascript-project2-game/ .
The method from cloning a project from GitHub is below:
- Under the repository’s name, click on the code tab.
- In your preffered IDE open Git Bash
- Change the working directory with the location where you would like your clone to be created .
- Type git clone and the paste the URL copied previously.
- Enter button to be pressed and the clone will be created.
- The font came from Google Fonts.
- The colour scheme was made by Colormind.
- Sound effect came from Notification Sounds
- The icons came from Favicon icon.
- Moqup was done on Moqups.
- Wireframes schetch Lucidchart.
- Some of the code ideas came from Stack Overflow.
- Some more research on Slack .
-
The photos all came from Google
The site was completed as a Portfolio 2 Project 2 (JavaScript+Html+Css)for the Full Stack Software Developer at the Code Institute. As such I would like to thank my mentors Precious Ijege, and Anton Zaharia for their help and support.
Mihaela Younas 2022.