Skip to content

CredCoder/rgb-color-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RGB Color Matching Game

Match the RGB Color Code in the heading with the square that is that color.

Use the image below to aid in selection.

Figure 1-1

Has three levels of difficulty:

  • Hard: 1 in 16 (default)
  • Medium: 1 in 8
  • Easy: 1 in 4

All color sqrares and light blue background change to the matching color and a 'correct' message is displayed when the correct square is selected.

Every wrong choice slowly fades away and a "try again" message is displayed.

The JavaScript code is organized in the following order:

  1. Global Variables
  2. Buttons
  3. Main Logic
  4. Functions

About

Match RGB color code to color

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages