developing a game in c++ using directx