Giter Site home page Giter Site logo

wesleybranton / simon Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 177 KB

Test your memory skills with this classic '70s memory game!

Home Page: https://addons.mozilla.org/firefox/addon/simon/

License: Mozilla Public License 2.0

JavaScript 72.85% HTML 8.90% CSS 18.25%
firefox firefox-addon firefox-extension firefox-webextension game hacktoberfest webextension

simon's Introduction

simon's People

Watchers

 avatar  avatar

Forkers

arrudagates

simon's Issues

Change game name

The game name "Simon" should be abandoned and replaced with a new name. There are multiple reasons to justify the change, one of which is the poor search result optimization. The extension name should have something to do with the word "memory" to ensure that it appears in the search results for people looking for memory games.

Increase pace of game with each level

To make the game more difficult, the pace of the game should increase with each level to make it harder to remember the sequence, much like how other similar memory games work.

Add timeout loss

If the user fails to press a button before an allotted amount of time, the game should end. This is how most similar memory games work.

Audio does not play twice

When the same audio clip needs to be played twice in a row, it will not play on the second time. If the same audio is played three times in a row, it will play on the first and third time, but not the second. This happens when the pattern is playing and when the user is pressing the buttons.

This would suggest that JavaScript doesn't think that the clip is done playing. Potentially, the clip is slightly longer than the timeout between the patterns. This should be easy to solve by forcing the previous clip to stop every time a new audio clip is started or by allowing the clips to overlap.

Update audio

The game audio should be changed to a more pleasant sound, instead of the harsh buzzing audio clips.

Add audio volume adjustment

The game should have an audio volume slider to adjust the audio level instead of a basic audio toggle function. This gives the user more control over their experience.

Update for WCAG 2.2 compliance

In an effort to make the content of the internet more accessible to everyone, all of my repositories will be reviewed to ensure that they fulfil the WCAG 2.2 requirements. This will take time. The current goal is to make all projects comply with level AA, including as many level AAA standards as possible.

Items that are bold are new to WCAG 2.2. Items that do not apply to the project will be marked as completed and marked with a strikethrough.

Guideline 1.1 – Text Alternatives

  • 1.1.1 - Non-text Content (A)

Guideline 1.2 – Time-based Media

  • 1.2.1 - Audio-only and Video-only (Prerecorded) (A)
  • 1.2.2 - Captions (Prerecorded) (A)
  • 1.2.3 - Audio Description or Media Alternative (Prerecorded) (A)
  • 1.2.4 - Captions (Live) (AA)
  • 1.2.5 - Audio Description (Prerecorded) (AA)
  • 1.2.6 - Sign Language (Prerecorded) (AAA)
  • 1.2.7 - Extended Audio Description (Prerecorded) (AAA)
  • 1.2.8 - Media Alternative (Prerecorded) (AAA)
  • 1.2.9 - Audio-only (Live) (AAA)

Guideline 1.3 – Adaptable

  • 1.3.1 - Info and Relationships (A)
  • 1.3.2 - Meaningful Sequence (A)
  • 1.3.3 - Sensory Characteristics (A)
  • 1.3.4 - Orientation (AA)
  • 1.3.5 - Identify Input Purpose (AA)
  • 1.3.6 - Identify Purpose (AAA)

Guideline 1.4 – Distinguishable

  • 1.4.1 - Use of Color (A)
  • 1.4.2 - Audio Control (A)
  • 1.4.3 - Contrast (Minimum) (AA)
  • 1.4.4 - Resize text (AA)
  • 1.4.5 - Images of Text (AA)
  • 1.4.6 - Contrast (Enhanced) (AAA)
  • 1.4.7 - Low or No Background Audio (AAA)
  • 1.4.8 - Visual Presentation (AAA)
  • 1.4.9 - Images of Text (No Exception) (AAA)
  • 1.4.10 - Reflow (AA)
  • 1.4.11 - Non-text Contrast (AA)
  • 1.4.12 - Text Spacing (AA)
  • 1.4.13 - Content on Hover or Focus (AA)

Guideline 2.1 – Keyboard Accessible

  • 2.1.1 - Keyboard (A)
  • 2.1.2 - No Keyboard Trap (A)
  • 2.1.3 - Keyboard (No Exception) (AAA)
  • 2.1.4 - Character Key Shortcuts (A)

Guideline 2.2 – Enough Time

  • 2.2.1 - Timing Adjustable (A)
  • 2.2.2 - Pause, Stop, Hide (A)
  • 2.2.3 - No Timing (AAA)
  • 2.2.4 - Interruptions (AAA)
  • 2.2.5 - Re-authenticating (AAA)
  • 2.2.6 - Timeouts (AAA)

Guideline 2.3 – Seizures and Physical Reactions

  • 2.3.1 - Three Flashes or Below Threshold (A)
  • 2.3.2 - Three Flashes (AAA)
  • 2.3.3 - Animation from Interactions (AAA)

Guideline 2.4 – Navigable

  • 2.4.1 - Bypass Blocks (A)
  • 2.4.2 - Page Titled (A)
  • 2.4.3 - Focus Order (A)
  • 2.4.4 - Link Purpose (In Context) (A)
  • 2.4.5 - Multiple Ways (AA)
  • 2.4.6 - Headings and Labels (AA)
  • 2.4.7 - Focus Visible (AA)
  • 2.4.8 - Location (AAA)
  • 2.4.9 - Link Purpose (Link Only) (AAA)
  • 2.4.10 - Section Headings (AAA)
  • 2.4.11- Focus Appearance (Minimum) (AA)
  • 2.4.12 - Focus Appearance (Enhanced) (AAA)
  • 2.4.13 - Fixed Reference Points (A)

Guideline 2.5 – Input Modalities

  • 2.5.1 - Pointer Gestures (A)
  • 2.5.2 - Pointer Cancellation (A)
  • 2.5.3 - Label in Name (A)
  • 2.5.4 - Motion Actuation (A)
  • 2.5.5 - Target Size (AAA)
  • 2.5.6 - Concurrent Input Mechanisms (AAA)
  • 2.5.7 - Dragging (AA)
  • 2.5.8 - Pointer Target Spacing (AA)

Guideline 3.1 – Readable

  • 3.1.1 - Language of Page (A)
  • 3.1.2 - Language of Parts (AA)
  • 3.1.3 - Unusual Words (AAA)
  • 3.1.4 - Abbreviations (AAA)
  • 3.1.5 - Reading Level (AAA)
  • 3.1.6 - Pronunciation (AAA)

Guideline 3.2 – Predictable

  • 3.2.1 - On Focus (A)
  • 3.2.2 - On Input (A)
  • 3.2.3 - Consistent Navigation (AA)
  • 3.2.4 - Consistent Identification (AA)
  • 3.2.5 - Change on Request (AAA)
  • 3.2.6 - Findable Help (A)
  • 3.2.7 - Hidden Controls (AA)

Guideline 3.3 – Input Assistance

  • 3.3.1 - Error Identification (A)
  • 3.3.2 - Labels or Instructions (A)
  • 3.3.3 - Error Suggestion (AA)
  • 3.3.4 - Error Prevention (Legal, Financial, Data) (AA)
  • 3.3.5 - Help (AAA)
  • 3.3.6 - Error Prevention (All) (AAA)
  • 3.3.7 - Accessible Authentication (A)
  • 3.3.8 - Redundant Entry (A)

Guideline 4.1 – Compatible

  • 4.1.1 - Parsing (A)
  • 4.1.2 - Name, Role, Value (A)
  • 4.1.3 - Status Messages (A)

Add support for localization

The add-on can easily be set up to support i18n. Although the add-on is unlikely to be translated any time in the foreseeable future, it can be if someone is willing to.

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.