Text this: Programming role-playing games with DirectX