Game Instructions

Tap a tile to toggle its color. When a tile changes nearby tiles may change as well. Each move affect multiple tiles. The target is to turn all tiles into yellow in the fewest steps possible.

Press 'j' to show/hide the game. Press 'i' to show/hide the instructions. Press 't' to show/hide the top score table.

Steps: 0

Top Scores

Name Steps
Press J to toggle the game, I to toggle instructions, and T to toggle the top scores

Congratulations!

You solved the puzzle in 0 steps!

Success!

Score submitted successfully!

Error

Failed to submit score. Please try again.

Paper.js Verctor Graphics PRO

Paper.js is an open source JavaScript library that provides us with vector graphics capabilities. Paper.js uses the HTML5 well known canvas.

The following code sample shows how simple it is to use this library.

<!DOCTYPE html>
<html>
<head>
    <title>paper.js demo</title>
    <script type="text/javascript" src="paper-full.min.js"></script>
</head>
<body>
    <canvas id="ourcanvas" resize></canvas>
    <script type="text/paperscript" canvas="ourcanvas">
        var path = new Path();
        path.strokeColor = 'red';
        var start = new Point(200, 200);
        path.moveTo(start);
        path.lineTo(start + [ 100, -40 ]);
    </script>
</body>
</html>

The following video clip overviews this code sample, shows its execution and explains it in detail.

You can find more training material for learning how to use this JavaScript library in my community free online courses at http://abelski.lifemichael.com.

Share:

The Beauty of Code

Coding is Art! Developing Code That Works is Simple. Develop Code with Style is a Challenge!

Update cookies preferences