When I started writing the Game Library, it was originally only a Graphics Library. The…