2048 game lib, written in C