the classic snake game made using angularjs