A clone of the old "Snake" mobile phone game in JavaFX 2