Base library for building cross-platform games