Skip to content

Instantly share code, notes, and snippets.

import chalk
import os (sleep, write)
let words = slurp('/usr/share/dict/words').words().filter!(/^[a-z]{5}$/)
let alphabet = [chr(o) for o in ord('a')...ord('z')]
function putc(s) {
write(1, s)
}
#include "sdl_wrapper.hh"
#include <SDL2/SDL.h>
int main(int argc, char *argv[])
{
SDL::init();
SDL_Event e;
bool quit{};