You can purchase a game through Xbox Play Anywhere on an Xbox and a Windows 10 PC. Just buy a game from the Microsoft Store or the Xbox Store. Then log into your Microsoft account to access games under 'My Library.'