A long-running battle between Apple Inc. and Google Inc. for mobile dominance is spreading to the most lucrative genre of apps: videogames.

The two Silicon Valley giants have been wooing game developers to ensure that top-tier game titles arrive first on devices powered by their respective operating systems, people familiar with the situation...