MS Windows builds on a very long history, which involves it positioning itself as the default OS on PCs (price bundled with the price of equipment), which led to a lot of software (games in particular) being written just for it. It also strongly benefited for being free for a sizable population of the world - by means of Microsoft not fighting rampant piracy of its systems.