An advanced game library for 3D games