Snake game written in java.