Game for "Train Your Brain" competition.
Author: Szymon Rodziewicz