Skip to content

Instantly share code, notes, and snippets.

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));
https://lospec.com/procedural-pixel-art-generator/
@ivxvm
ivxvm / cc0-trick
Created May 29, 2020 13:49
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.