Completed game API test code