Skip to content
This repository was archived by the owner on Aug 2, 2021. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

javascript-color-game

[A JavaScript based 'game' to hone js skills.]

The game works by setting up an array of colored clickable squares on the screen. One of these squares background color matches a pre-defined 'correct' color, whose rgb code is displayed on top of the screen. The player clicks on the square whose color he/she thinks matches the given rgb code. The choice he/she makes is compared against the correct color, and magic happens. Pretty neat, ja?

The logic

Aaaaam....read the js code. It's not that hard to understand. Really it isn't.

Getting started

Clone the repo as is to your machine. Open the html file (in the src folder) and you're ready to play. Simple as that.

Prerequistes

Besides a browser (Chrome is preferred, for reasons I will not give), none whatsoever.

Built with

  • Vanilar js
  • Visual Studio Code Editor.

Authors

  • dMithamo.

License

This project is protected by the laws of ... Ha! Gotcha. Just Kidding. Feel free to use what part of this project (or all of it) as you please. It is completely free. If you can spare a second to suggest an improvement, or just high five me, I'd sure be grateful.

Gracias!

About

A JavaScript based game to hone js skills

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages