Skip to content

Latest commit

 

History

History
50 lines (48 loc) · 1.67 KB

README.md

File metadata and controls

50 lines (48 loc) · 1.67 KB

Spread Color

A JavaScript implementation of a color spreading. The game consists of a grid of blocks with a specified size, and a start point. When the start point is clicked, the surrounding blocks change color according to a specified speed and spread until they reach the edges of the grid.

2023-05-25 13-39-04_3 2023-05-25 13-39-04_4 2023-05-25 13-39-04_5

Features

  • Customizable game size, spread speed, color, accuracy, etc.
  • Option to display the block numbers, start points, debug information, etc.
  • Option to change the spread direction to be one-way or multi-directional.

Usage

  • Clone the repository or download the files.
  • Open the index.html file in a web browser.
  • Set the desired options in the game settings.
  • Click on a block to select it as the start point.

Live Demo

Check out the live demo on JSFiddle: https://jsfiddle.net/Ali_Sdg90/nk148hju/3/

Built With

  • HTML
  • CSS
  • JavaScript

Author