Terminal based snake game