Functional snake game