snake, implemented with SDL2 and cairo