Complete rewrite of blockling, using SDL2