This is a snake game in java.