Made improvements to snake game