News: 0001482524

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

SDL3 Library Adds A Built-In Snake Game

([Linux Gaming] 6 Hours Ago SDL Snake Game)


For those enjoying the classic game Snake (Blockade) or rather wanting to learn about the SDL3 API to develop your own software using this cross-platform software/hardware abstraction library, a game of Snake has been added to the SDL3 repository to serve as a more full-featured example.

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

Rovano

furtadopires

chuckula

I was offered a job as a hoodlum and I turned it down cold. A thief is
anybody who gets out and works for his living, like robbing a bank or
breaking into a place and stealing stuff, or kidnapping somebody. He really
gives some effort to it. A hoodlum is a pretty lousy sort of scum. He
works for gangsters and bumps guys off when they have been put on the spot.
Why, after I'd made my rep, some of the Chicago Syndicate wanted me to work
for them as a hood -- you know, handling a machine gun. They offered me
two hundred and fifty dollars a week and all the protection I needed. I
was on the lam at the time and not able to work at my regular line. But
I wouldn't consider it. "I'm a thief," I said. "I'm no lousy hoodlum."
-- Alvin Karpis, "Public Enemy Number One"