A judge ruled Friday that Apple engaged in anticompetitive conduct in its App Store, concluding a lawsuit filed by game…