the snake follows the mouse pointer and avoid the black cubes and get the apples
I got the idea my self and I made the code self