RGB Game

2016

A working example can been seen at https://codepen.io/T_h_e_o/pen/NjdOQj

This was a project from Colt Steele's Udemy course. The entire course was one of the best ones I have ever watched. This game is built with only HTML, CSS, and JavaScript. There are three game modes - easy, hard, and harder. There is a winning color that is generated randomly that each square gets checked against once it is clicked. If the selection is incorrect the square will disappear with rgba(0,0,0,0), and display "Incorrect" in the status bar. If the correct color is chosen, there will be a message in the status bar that says "Correct", all the remaining squares will turn the winning color, and the reset button will change to a "Play Again?" button.

Back