sdl2snake20.23.01

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

LinuxVideo & Media PlayersOpen source

v20.23.01

4.0 MBscanned clean

Verify your download

Select the file you downloaded to check it against the hash we published — the check runs in your browser, nothing is uploaded.

Screenshots

About

sdl2snake lets you play a compact game of Snake with graphics rendered through SDL2. Written in C++, it supports both a solo game and a two-player game on the same computer. Its simple presentation suits quick keyboard-based sessions rather than an elaborate arcade experience.

Press 1 or 2 to choose single-player or double-player mode, or click the corresponding choice with the mouse. In single-player mode, the arrow keys steer the snake, while double-player mode assigns W, S, A, and D to player one and the arrow keys to player two. Esc or Q exits the current scene, giving the keyboard a direct way to leave menus or play. The separate control sets let two people share one keyboard without exchanging controls.

Jintao Yang publishes sdl2snake as open-source software for Linux, with the current version numbered 20.23.01. It requires Linux with snapd and targets x86_64, also known as amd64, making it a fit for Linux users seeking a small one- or two-player game. Development prerequisites include gcc and g++ 7.4.0 or newer as recommended, plus libsdl2-dev and libsdl2-ttf-dev on Linux; the project also names sdl2.nuget and sdl2_ttf.nuget for Windows builds and Visual Studio for its SDL2snake.sln project.

Requires Linux + snapd · Architecture: x86_64 (amd64)

Details

PlatformLinux
CategoryVideo & Media Players
LicenseOpen source
PricingFree
Package IDsdl2snake
Latest versionv20.23.01
File typeSNAP
Minimum OSLinux + snapd
Architecturex86_64 (amd64)
File size4.0 MB
Published9/15/2026

SHA-256

Does this still work for you?

Works (0)Doesn't work (0)Sign in to vote

Badge for your website

Developers can show that sdl2snake is available on MirrorNest. Copy the code below: the badge links to this page and updates itself.

sdl2snake on MirrorNest
HTML
<a href="https://mirrornest.com/software/sdl2snake-69a0509f"><img src="https://mirrornest.com/badge/sdl2snake-69a0509f.svg" alt="sdl2snake on MirrorNest" height="20"></a>
Markdown
[![sdl2snake on MirrorNest](https://mirrornest.com/badge/sdl2snake-69a0509f.svg)](https://mirrornest.com/software/sdl2snake-69a0509f)

Reviews

No reviews yet — be the first.

Leave a review

Sign in to post as a verified member instead of anonymously.

sdl2snake alternatives