Skip to content

Instantly share code, notes, and snippets.

View example.c
struct game_manager {
struct rng rng;
struct sprite_atlas atlas;
struct scene scene;
struct creature player;
struct input_manager input_manager;
};
void game_manager_init(struct game_manager* self) {
srand(time(NULL));
View gist:9757d6213b223596715960f67b461ae2
https://lospec.com/procedural-pixel-art-generator/
View cc0-trick
After creating a github repo, we can simply go https://github.com/<user>/<repo>/community/license/new?branch=master&template=cc0-1.0, and it will nicely appear in the LICENSE page.