Snake in scala (which is why the snake is red).
Still has a couple of bug.
The frame drawing isn't smooth, not sure of that's because of swich or because of the java timer.
The self playing algo has a bun in it if the snake get longer than 2 rows.