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.

OpenLayers Dynamic Maps PRO

The OpenLayers open source project allows us to add dynamic maps into our web pages. Using this library we can avoid the use of Google Maps.

The following code sample shows how simple it is to use OpenLayers together with data retrieved from openstreetmap.org.

<!DOCTYPE html>
<html lang="en">
<head>
    <title>openlayers simple demo</title>
    <link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/openlayers/2.12/theme/default/style.css" media="all" />
    <style>
        #mymap {
            height: 500px;
            width: 800px;
        }
    </style>
</head>
<body>
<div id="mymap"></div>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/openlayers/2.12/OpenLayers.js"></script>
<script type="text/javascript">
    var map = new OpenLayers.Map({
        div: "mymap",
        controls: [
            new OpenLayers.Control.Attribution(),
            new OpenLayers.Control.Navigation(),
            new OpenLayers.Control.Zoom()
        ],
        layers: [
            new OpenLayers.Layer.OSM("OpenStreetMap", null, {
                transitionEffect: "resize",
                attribution: "© <a href='http://www.openstreetmap.org/copyright'>OpenStreetMap</a>"
            })
        ],
        center: new OpenLayers.LonLat(0, 0),
        zoom: 1
    });
</script>
</body>
</html>

The following video clip overviews this code sample, shows its execution and explains eacn and every part of it.

You can find more code samples, video clips and various other training material for learning how to use this library 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