Skip to content

mvs6909/memory-game

Repository files navigation

Memory Game

Memory Game is a Light & Sound Memory game.

Time spent: 17 hours spent in total

Link to project: https://glitch.com/edit/#!/jewel-organic-hub

Functionality

The following functionality is complete:

  • Game interface has a heading (h1 tag), a line of body text (p tag), and four buttons that match the demo app
  • "Start" button toggles between "Start" and "Stop" when clicked.
  • Game buttons each light up and play a sound when clicked.
  • Computer plays back sequence of clues including sound and visual cue for each button
  • Play progresses to the next turn (the user gets the next step in the pattern) after a correct guess.
  • User wins the game after guessing a complete pattern
  • User loses the game after an incorrect guess
  • Any HTML page elements (including game buttons) has been styled differently than in the tutorial
  • Buttons use a pitch (frequency) other than the ones in the tutorial
  • More than 4 functional game buttons
  • Playback speeds up on each turn
  • Computer picks a different pattern each time the game is played
  • Player only loses after 3 mistakes (instead of on the first mistake)
  • Game button appearance change goes beyond color (e.g. add an image)
  • Game button sound is more complex than a single tone (e.g. an audio file, a chord, a sequence of multiple tones)
  • User has a limited amount of time to enter their guess on each turn

The following additional features are implemented:

  • User can change the difficulty with the providid 3 difficulty modes
  • Integrated tilt.js library to improve the UI and give the buttons some interactive animations
  • Added a glowing effect to buttons
  • Configured a confetti animation when the player wins the Game.
  • Added Mario win and loss sound tracks.

Video Walkthrough (GIF)

If you recorded multiple GIFs for all the implemented features, you can add them here:

User can choose the difficulty level in which easy, medium, and hard has 4,6,8 tiles respectively. It also shows the tilt effect used on tiles.

User loses hearts after incorrect guess and eventually loses

User loses due to time running out

User wins after completing all 8 passes (This GIF shows only the last pass) and confetti animation is shown

License

Copyright [Manav Shah]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Light and Sound Memory Game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published