Git Product home page Git Product logo

simon-memory-challenge's Introduction

Simon Memory Challenge

Simon Memory challenge is an simple interactive memory game.

The Simon Memory Challenge is a memory game designed to engage users of all ages and is child friendly.It is a game with lights and sounds, easy to play, offers various difficulty levels to the user, in which users must replicate a sequence of lights and sounds by pressing the coloured buttons.It features a Start button to start the game sequence and Try Again button will restart the game if the user gets the sequence wrong.This game is fully responsive to the users chosen device.

I have used HTML, CSS and JavaScript to build this and the game which will form part of my ongoing portfolio of work.

Am-I-Responsive

Table of Contents

  1. UX

  2. Technologies Used

  3. Features

  4. Testing

  5. Deployment

  6. Credits

  7. Disclaimer

UX

Project goals

The primary goal of Simon Memory Challenge is to provide the user with a simple and fun, easy to use interface.It has different levels of difficulty and is child-friendly.

User goals

  • A fun memory challenge.
  • Buttons with lights and sounds.
  • Child-friendly fun environment.
  • Game controls laid in an intuitive way.
  • Dark mode and light mode toggling.
  • Sounds on/off button.
  • Information on how to play.
  • A game for players to practice and improve their memory skills.
  • An interactive game with audio and visual stimulus.

User stories

As a user:

  • I want the page to be visually appealing.

  • I want to be able to navigate myself around the site with ease and with as little guidance as necessary.

  • I want to easily access the game, tutorial information if needed, and control the sounds coming from the website.

  • I want to be easily go through difficulty levels of the game and before I play, I have an idea of what will change with each difficulty level.

  • I want to be able to restart the game if necessary without having to go back to the home screen to do it.

Design Choices

The following are the design choices:

Fonts

  • The main body font Press Start 2P was chosen as it is font design from 1980s Namco arcade games.

  • The fallback font is Roboto.

Colours

  • The colour choices of buttons are red, blue, green and yellow similar to the original Simon Says game

Styling

  • Minimilistic design makes the buttons easy to see when lit.

Background

  • Dark mode and light mode toggling according to player choice.

Audio files

  • Different sounds to help memory.

Wireframes

I used Balsamiq for the design and planning process for this project.

Desktop view

Home page

Tablet view

Home page

Mobile view

Home page

Technologies Used

  1. HTML - This was used for the overall structure of the website.

  2. CSS - This was used for the overall and bespoke styling of elements on the website.

  3. JavaScript - This was used to create overall logic of the game as well as controlling the modals, audio and buttons.

  4. Google Fonts - I used Google Fonts Press 2 Play and Roboto.

  5. GitHub - I used to store my repository for the project and record all my commits.

  6. GitHub Pages - I used to deploy my website.

  7. Atom - I used this to write the code for my site.

  8. Storyblocks - I used the game sounds from this website.

  9. Flaticon - I used the icons from this website.

Features

Existing Features

  1. The user is first greeted with a page with a blinking swipe ”Simon Memory Challenge" title logo and title to Press Start to play
  2. The start button allows the user to start the game.
  3. The interactive coloured light-able buttons when clicked have unique sounds which allows the users to replicate a sequence of lights and offers various difficulty levels.
  4. Try Again button will restart the game if the user gets the sequence wrong.
  5. The modal “i” button allows users to read the instructions for how to play the game.
  6. Users are able to click the volume button, which toggles the sound on and off.The button also changes depending on the toggle state.
  7. Users are able to click the dark mode/light mode button, which toggles into dark and light backgrounds.The button also changes depending on the toggle state.

Features To Be Implemented

High score

  • I would like to add a high score mode

Testing

The testing process can be seen here.

Code Validation

All code written has been thoroughly validated and passed through the following online validators:

  • HTML - All code was run through the W3C HTML Validator to ensure it was valid code and no errors were made.

  • CSS - All styling was run through the W3C CSS Validator to ensure it was valid and no errors were made.

  • JavaScript - All my script was run through the JSHint validator and Esprima and no errors were found.

Deployment

o deploy this page to GitHub Pages from its GitHub repository, the following steps were taken:

  1. Log into GitHub.
  2. From the list of repositories on the screen, select USERNAME/REPOSITORY.
  3. From the menu items near the top of the page, select Settings.
  4. Scroll down to the GitHub Pages section.
  5. Under Source click the drop-down menu labelled None and select Master Branch
  6. On selecting Master Branch the page is automatically refreshed, the website is now deployed.
  7. Scroll back down to the GitHub Pages section to retrieve the link to the deployed website.

Running this project locally

To clone this project from GitHub:

  1. Follow this link to the GitHub repository.
  2. Under the repository name, click the green "Clone or download" button.
  3. In the Clone with HTTPs section, copy the clone URL for the repository.
  4. In your local editor program, open a terminal.
  5. Change the current working directory to the location where you want the cloned directory to be made.
  6. Type git clone, and then paste the URL you copied in Step 3.

git clone https://github.com/FatimasCoding2020/Simon-Memory-Challenge

  1. Press Enter. Your local clone will be created.

For more help on cloning a repository on Github, please click here.

Credits

Sound Effects

Images

Acknowledgements

A special thanks to:

  • My Code Institute Mentor, Precious Ijege for his support during the project.

This site has been created entirely for educational purposes only and is not intended to be used in any other capacity.This site uses the games concept only to show the developers ability in the language of Javascript.

simon-memory-challenge's People

Contributors

fatimascoding2020 avatar

Watchers

 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.