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.

Writing to Java Script Console PRO

We can easily track our code in Java Script by writing text messages to the Java Script console. The following code sample shows how to do it.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title></title>
    <script type="text/javascript">
        var sum = 0;
        for(i=1; i<=10; i++)
        {
            sum+=i;
            console.log("i="+i);
            console.log("sum="+sum);
        }
        document.write("sum="+sum);
    </script>
</head>
<body>

</body>
</html>

The following video clip explains the code sample When using Firefox there is a need in installing the Firebug extension.

Share:

The Beauty of Code

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

Update cookies preferences