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.

Moment.js Jump Start PRO

Moment.js is a simple tiny JavaScript library that assists us with parsing, formatting and manipulating date values.

Using the Moment.js JavaScript library usually involves with calling the moment() function that returns a reference for a new object that represents the current time.

The code shown in this video clip is available below. Make sure you fix the relative links to the required JavaScript file.

<!DOCTYPE html>
<html>
<head>
    <title>Moment.js Jump Start</title>
    <script type="text/javascript" src="moment.js"></script>
</head>
<body>
    <script type="text/javascript">
        document.writeln("<br/>"+moment().format('MMMM Do YYYY, h:mm:ss a'));
        document.writeln("<br/>"+moment().add('days', 1).calendar());
    </script>
</body>
</html>

You can find slides and video clips that explain how to use this library in my free courses website 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