Giter VIP home page Giter VIP logo

quick-memory-game's Introduction

Memory Game

picture alt

This project is a quick game who has the aim to keep the users entertained but also to improve users' brain functions. Memory games give also space to critical thinking and that helps children nurture their attention to detail.

Table of Content

  1. UX
  2. Features
  3. Technologies used
  4. Testing
  5. Deployment
  6. Credits

UX

User Stories

  • The user wants to have fun and enjoy when playing this game.
  • The user wants to win the game.
  • The user wants to win the game using a lover number of lives.

User Goals

  • In order to win the game the user needs to collect all the pairs of cards before that the lives end.

Features

  • Responsive in all devices.
  • Interactive elements.
  • Start Screen.
  • Game Screen.
  • End game alert.

This memory game is a linear game and when the player presses start the game board is created and shuffled. At the end of the game the user will get an allert message saying either "Win" or "Loss" and the game will automatically restart.

Existing features

Start Screen

The start screen consist of a start button and a footer.

  • Start button.
    • When the user clicks on the Start button, he will be directed to the main board and the game will start.
  • The footer.
    • The footer section includes the link of my GitHub profile. The link will open in a new tab of the browser, this creates a better user's experience.

picture alt

Game Screen

Inside the game screen we can find three elements:

  • Lives Count paragraph.
    • The user ha 15 lives in order to complete the game and pair all the 16 cards. Once that the Lives Count will be 0, the user will get a Loss message and the game will automatically restart.
  • Game Board.
    • At the beginning of the game the 16 cards are shuffled and distribuited across the board. The game starts when the user click on the first card.
  • The footer.
    • The footer section includes the link of my GitHub profile. The link will open in a new tab of the browser, this creates a better user's experience.

picture alt

Features Left to Implement

  • I plan to add a screen after the "start button" with the rules of the game.
  • Planning to add an End Game screen to show the Win or Loss message instead of having an alert window like now.

Technologies Used

Language Used

Libraries, Framework & Tools

Testing

W3C HTML Validation

picture alt

W3C CSS Validator

picture alt

JSHint Testing

picture alt

Accessibility

picture alt

Further Testing

  • I tested the all the screens works in different browsers: Chrome, Safari, Firefox and Edge.
  • I confirmed that this project is responsive, looks good and works on all standard screens using the devtools device toolbar.

Deployment

  • The site was deployed to GitHub pages. The steps to deploy are as follows:

    • In the GitHub repository, navigate to the Settings tab
    • From the source section drop-down menu, select the Master Branch
    • Once the master branch has been selected, the page will be automatically refreshed with a detailed ribbon display to indicate the successful deployment.

    Credits

    Content

  • DevelopmentByEd I found his tutorial on Youtube really helpful, especially in creating the design of my game,

  • Dev Ed GitHub repository I checked also Ed Repository and his memory game to check his code.

  • Cosing Nepal Memory Quiz I used the images provided from Coding Nepal for my project.

  • EventTarget.addEventListener() It helped me to understand the Event Listeners.

Acknowledgment

  • Martina Terlevic. A big thank you to my mentor Martina, who helps me a lot with this project!

quick-memory-game's People

Contributors

nicolascagna96 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.