There is no method available to transfer apps or games form one Microsoft account to another account, they are registered as a digital licence on the Microsoft account used at the time to purchase the apps or games.
If you are listed as a child account in a Microsoft Family, you may be able to use the steps provided on this link to play the game using your Microsoft account, however you may lose your previous progress in the game using this method.
.
.
Standard Disclaimer: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.