Giter Club home page Giter Club logo

mendesfsweden-milestoneproject2's Introduction

Retro Mario Match

MS2 -Interactive Frontend Development - Code Institute

This project is a memory card game Super Mario theme based. The idea is that the user will match all the card pairs in order to finish the game. There is a time limit of 60 seconds and a score of 1000 points to which every click deducts 20 points.

Demo

Click here for a live demo version of this project.

UX

Focus on providing the user a way to train his/her memory skills by playing a memory card game. The project is easy to navigate through and it has a simple and attractive layout, as well as an option to listen (or not) to the well known super mario soundtrack song.

User Stories

  • As a user, i have a start button the allows me to initialize the game.
  • As a user, i have access to the current time left to play as well as the score, at all times.
  • As a user, i have access to a button that allows me to restart the game at any time.
  • As a user, i have the possibility the mute and, consequently, unmute the sound by clicking on the mute/unmute button during the game.
  • As a user, i can restart the game immediatelly after i win or lose as there is a restart button available on both win and game over screens.

Strategy

The objective is to collect the most pairs of cards. When a player turns over two cards that do not match, those cards are turned face down again (in the same position). The trick is to remember which cards are where.

Scope

The goal is to provide the user a way to train his/her memory skills through a fun and interactive experience.

Structure

It's a single page project. All the game information is available to user at all times (time left, score, buttons to restart and mute/unmute). In addition, there are three different cover screens. One once the game is loaded(start screen, that also includes a start button), one once the user wins(win screen) and one once the user loses(game over screen). Both the win and game over screens have a button to restart the game.

Skeleton

The following wireframes for this projects were developed with Figma:

Desktop Version
Mobile Version

Surface

The red color used is one of the super mario colors. The grey color on the card front (when flipped) intends to make it easier for the user to identify the cards left to match. As the colors of the characters are all very similar it would easy to get confused once only a few pairs would be left to match (if using black as the card back). The font-family "Press Start 2P" was picked to give the game a retro aspect.

Technologies Used

  • HTML - was used create the website structure
  • CSS - was used to style the HTML
  • JavaScript - was used for the website interactiveness
  • Figma - was used to create the wireframes

Features

The user is able to restart the game at any moment as well as disable/enable the sound, by clicking on the "Restart" and "Mute"/"Unmute" buttons, respectively. The remaining playing time and score are visible at all times. Once the user loses or wins the game there are buttons available to restart the game.

Features Left To Implement

Create different dificulty levels.

Testing

This project was tested on Chrome, Safari, Edge, Brave, iOS devices (iPhone Xs and Ipad) and Android. All functionalities work as expected. It does not work properly on Internet Explorer.

HTML/CSS Validation

W3C HTML Validator: Used it to check the site's HTML document markup validity and it's functionality.
W3C CSS Validator: Used it to check the site's CSS document markup validity and it's functionality.

Deployment

The project is hosted at GitHub, directly from the master branch. For that reason, any new changes committed will be deployed automatically.

Credits

Media

All images are from the free stock image library pngGuru.

Acknowledgements

Retro Mario Match was inspired on this GitHub repository link.

mendesfsweden-milestoneproject2's People

Contributors

mendesfsweden avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.