TRICOLORS: a puzzle game
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


TRICOLORS is a tiny puzzle game inspired by Lights Out, participating GitHub Game Off 2017.


Try removing all colored blocks in a 5x5 map. Solve endless puzzles with increasing difficulties!

This game is inspired by a game Lights Out in my childhood memories. Original Lights Out game is designed for monocolor screens. I made it much more difficult by coloring the blocks. Each block can be colored red / green / blue, and these 3 colors can be mixed together:

  • red + green = yellow
  • red + blue = purple
  • green + blue = cyan
  • red + green + blue = white

How to Play

Open the URL above in latest Chrome/Firefox (or other browsers with WebGL support). Mobile devices are also supported!

Click the "?" button in game cover for the tutorial.


f f f


This game is made by LastLeaf (Fu Boquan), for GitHub Game Off 2017.

My GitHub Game Off 2015 and 2016 games (with different teammates) are also available:

How to Build this game

This game is implemented with WebGL and common HTML5 technologies. You need nodejs toolchains to build this game.

  1. Clone this repo.
  2. Run npm install.
  3. Run npm run build.
  4. Open index.html in your browser!


The content of this game is under Creative Commons Attribution-ShareAlike 4.0 International. The software of this game is under MIT LICENSE.