Skip to content

paulnguyen-mn/js-color-matching

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Color Matching Game | Written in pure javascript

A good way to practice javascript by building this simple game.

DEMO: https://color-matching-game.vercel.app/

color matching game

Game rule

  • Has only one mode, one level. You need to find all matched colors in 30s.
  • When a color pair is matched, the background will be updated to the matched color.
  • When game is timeout, Game Over message will be displayed.
  • If you can find all colors in less than 30s, You win 😍 message will be displayed.
  • When game is finished, a Play Again button is displayed.
  • Color list will be randomized every time you start a new game.

Techstacks

  • HTML/CSS
  • Pure Javascript
  • Lib: randomColor.js to random attractive colors

Hope you enjoy playing this game 🤩

About

A base project for color matching game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published