fully functional snake game