new endpoint for terngame