Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 482 Bytes

File metadata and controls

15 lines (8 loc) · 482 Bytes

ColorGame

HTML5 Javascript Canvas based simple game

Written in Javascript in half an hour just for fun.

The goal of the game is to make all the blocks same color. You start with the upper left block. As you change the color using the buttons, you control more blocks. Less move count is better score.

The size of the game board is easily custimizable as below:

var screenWidth = 20; //number of blocks in a row

var screenHeight = 20; //number of blocks in a column