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 written with C++, and 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
  • 15 February 2023 - latest/stable
  • 15 February 2023 - latest/candidate



Share this snap

Generate an embeddable card to be shared on external websites.

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.

Where people are using sdl2snake

Users by distribution (log)

Ubuntu 22.04
Ubuntu 20.04
Ubuntu 24.04

Is there a problem with sdl2snake? Report this app