SDL3 Library Adds A Built-In Snake Game
- Reference: 0001482524
- News link: https://www.phoronix.com/news/SDL3-Built-In-Snake-Game
- Source link:
The SDL repository has contained a number of basic code examples for developers wishing to learn the Simple DirectMedia Layer while now for a more full-featured example, a Snake game has been added as a small yet complete game. This is great for a more complete look at SDL use or even just for testing to verify SDL functionality is working on your system.
The Snake game was merged to the SDL3 codebase yesterday via [1]this pull for those interested. Thanks to this software development library, the Snake game is cross-platform and written in less than 400 lines of C code.
[1] https://github.com/libsdl-org/SDL/pull/10428
ssokolow