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.

Lambda Expressions in Android Studio

The Android platform doesn’t provide a full support for the new features introduced by Java 7 & 8. One of them is Nevertheless, the developers of the Android Studio IDE chose to provide their own implementation for lambda expressions.

When folding the code that includes the instantiation of an anonymous inner class that implements an interface with one method we can expect to get a lambada expression.

If you want to get a better understanding for lambda expressions in Java I recommend you to check my slides for this topic in the Java SE Applications Development course at http://abelski.lifemichael.com. Makre sure you understand the Inner Classes topic before trying to understand the lambda expressions topic.

Share:

The Beauty of Code

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

Update cookies preferences