A c++ framework for game support