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.

Technion Android Crash Course Final Projects INFO

During Summer 2012 semester I delivered together with Dr. Amnon Dekel an academic crash source for android applications development. The course took place in the Technion (Electrical Engineering faculty). The final project the students developed was a sensors tracking application. Once the application is installed and the service is started the data is continuously collected […]

Android Crash Course in Technion INFO

During august – september 2012 I delivered an academic course for android applications development together with Dr. Amnon Dekel. The course took place in the Electric Engineering faculty in the Technion. The course focused on android applications development in Java and it included 28 academic hours. In order to assist with the delivery of the course […]

The Zend Framework Zend_Locale Component PRO

Using the Zend_Locale component we can represent different locales. Each locale is a combination of a language and a country. Usually we will set the default locale of our application during the execution of our bootstrap file. Zend_Locale::setDefault(‘he_IL’); There are various possible ways for using the Zend_Locale. The following code sample creates new Zend_Locale objects […]

The Zend Framework Zend_Debug Component PRO

We can use the Zend_Dubug component for dumping back to the web browser screen the values of expressions in our code. $a = 23; $b = 12; $sum = $a + $b; Zend_Debug::dump(“a=”.$a); Zend_Debug::dump(“b=”.$b); Zend_Debug::dump(“sum=”.$sum); The following video clip shows a code sample for using the Zend_Debug component.

The Zend Framework Zend_Log Component PRO

Using the Zend_Log component we can easily write log messages tracking the execution of our code. We can write these messages to various destinations, such as a plain text file or a database. //writting log message $logger = new Zend_Log(); $writer = new Zend_Log_Writer_Stream(‘zfapp.log’); $logger->addWriter($writer); // attaching formatter to the writer $format = ‘%timestamp%: %priorityName%: […]

Android Logcat & PhoneGap PRO

When developing an hybrid application we encounter difficulties when tried to track (debug) code we wrote in Java Script that is executed inside the WebView object. The problem becomes even more complex when using PhoneGap. The following code sample shows how we can use the android logcat for getting log messages from the code we […]

Using The Android Sensors PRO

The android device has sensors we can use in our code. We can get data coming from these resources using the SensorManager object. The following code sample shows how to do it. package com.abelski.samples; import android.hardware.Sensor; import android.hardware.SensorEvent; import android.hardware.SensorEventListener; import android.hardware.SensorManager; import android.os.Bundle; import android.app.Activity; import android.content.Context; import android.util.Log; import android.view.Menu; import android.view.MenuItem; import […]

Zend_Db_Table Simple Demo PRO

Using the Zend_Db_Table class, which is part of the Zend Framework, we can easily access a specific table in our database. The following code sample shows how simple it is to add a new row using this class. The following code includes our definition for the users controller. <?php require_once ROOT_DIR.’/models/Users.php’; class UsersController extends Zend_Controller_Action […]

Simple Zend_Form Demo PRO

I have recently created a simple demo for using the Zend_Form. In order to keep it simple I chose to avoid using decorators. You can download the files and place them on your own server. The demo provides us with a simple BMI calculator. The user get to see a simple form where he should enter […]

Simple Zend Framework Jump Start PRO

I have recently created a simple demo for using the PHP Zend Framework. The simple demo was prepared in order to assist my students doing their first steps using this framework. The demo includes few controllers and it basically shows a list of books and a list of reviews for each one of them. In […]

Update cookies preferences