Jintao Yang (joker2770) Publisher

Install latest/stable of sdl2snake

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.

Install using the command line

sudo snap install sdl2snake

Don't have snapd? Get set up for snaps.

Channel Version Published

a simple snake game is written with C++, and is rendered by SDL2.

available key control for pure keyboard:

  • Esc - Quit current scenes.
  • Q - Same as above.
  • 1 - Into single player mode. (Mouse click will be working as well)
  • 2 - Into double player mode. (Mouse click will be working as well)
  • W, S, A, D - For double player mode, for player1 control.
  • up, down, left, right - For single player mode or player2 of double player mode.

More detail please view code: < >.

Details for sdl2snake

  • MIT

Last updated
  • 30 October 2022


Share this snap

Generate an embeddable card to be shared on external websites.

Related blog posts

Install sdl2snake on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.

Is there a problem with sdl2snake? Report this app