Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.25 KB

README.md

File metadata and controls

50 lines (32 loc) · 1.25 KB

Zig example projects

This is my collection of small example projects showcasing the Zig language, build system and ecosystem.

Simple Breakout clone using SDL3 for video, audio, input, etc. How quickly can you break all the bricks?

Preview

SDL's example Snake game, written in C, built using the Zig build system.

Preview

Creates a window using SDL3, then draws to it using OpenGL bindings generated by zigglgen.

Preview

Look ma, no shaders! Creates a window using GLFW, then draws to it using OpenGL bindings generated by zigglgen.

Preview

Demonstrates how to compile a program consisting of a mix of C, C++ and Zig code.

Entered main.c
Hello from C!
Hello from C++!
Hello from Zig!
Leaving main.c