Use arrow keys or a s d w keys to change your direction, when you hit a wall, use number keys to choose your mode. Press r to reset score
It is all original, I didn't want to do a normal snake so instead I did a snake, but every time you eat an apple you get faster based on your game mode.