snake game written in java and with the javafx-library.
This is a snake game where a player controls a snake, and he has to eat the little food if he wants to grow. The player plays with the arrow keys, and he can also pause the game by touching the P key. If he wants to cheats, he can write the word "C-H-E-A-T" while he is playing and therefore he will grow. If the player touches the S key, the snake will have a squared shape. And by touching the D key, he will activate the difficulty mode where the food will move.