---
title: Install sdl2snake on Linux | Snap Store
description: Get the latest version of sdl2snake for Linux - a simple snake game written
  with C++, and rendered by SDL2.
url: https://snapcraft.io/sdl2snake
---

# sdl2snake

[Jintao Yang (joker2770)](https://snapcraft.io/publisher/joker2770 "View all snaps from Jintao Yang (joker2770)")

* [Jintao Yang (joker2770)](https://snapcraft.io/publisher/joker2770 "View all snaps from Jintao Yang (joker2770)")
* [Entertainment](https://snapcraft.io/search?categories=entertainment)
* [Games](https://snapcraft.io/search?categories=games)

latest/stable 20.23.01

Install latest/stable of sdl2snake

This channel hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

**Install using the command line**

```
sudo snap install sdl2snake
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* sdl2snake

---

### License

* MIT

---

### Last updated

* 15 February 2023 - latest/stable
* 9 February 2026 - latest/beta

---

### Websites

* [github.com/Joker2770/SDL2snake](https://github.com/Joker2770/SDL2snake "https://github.com/Joker2770/SDL2snake")

---

### Contact

* [yjt950840@outlook.com](mailto:yjt950840@outlook.com "mailto:yjt950840@outlook.com")

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/sdl2snake#report-snap-modal)

---

* [Description](https://snapcraft.io/sdl2snake#tab-description)
* [Security](https://snapcraft.io/sdl2snake#tab-security)

#### 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: < <https://github.com/Joker2770/SDL2snake> >.*

---

## 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](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/sdl2snake/arch)

[### CentOS](https://snapcraft.io/install/sdl2snake/centos)

[### Debian](https://snapcraft.io/install/sdl2snake/debian)

[### elementary OS](https://snapcraft.io/install/sdl2snake/elementary)

[### Fedora](https://snapcraft.io/install/sdl2snake/fedora)

[### KDE Neon](https://snapcraft.io/install/sdl2snake/kde-neon)

[### Kubuntu](https://snapcraft.io/install/sdl2snake/kubuntu)

[### Manjaro](https://snapcraft.io/install/sdl2snake/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/sdl2snake/pop)

[### openSUSE](https://snapcraft.io/install/sdl2snake/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/sdl2snake/rhel)

[### Ubuntu](https://snapcraft.io/install/sdl2snake/ubuntu)

[### Raspberry Pi](https://snapcraft.io/install/sdl2snake/raspbian)
