Zachary W. Huang

Home Projects Blog Guides Resume

Snake: the game

The code can be found here

I made Snake in C using SDL, a multimedia development library.

While SDL does has functions for drawing arbitrary shapes, I decided to take on the challenge of drawing directly* to pixels on the screen.

It was fun to implement my own small utility libraries.

If you want to play around with my snake game, check out the github repo here.

*technically, I drew pixels onto a texture, and then I copied the texture onto the screen

RSS icon github logo linkedin logo

Zachary W. Huang © 2021-2024