The only real way around this is for the game to be free to play, or fully subscription based from the beginning. Then it is classified by this directive as a digital service. However, if they sell digital content like skins or other items then it again is covered as a digital good even if only used within the service (unless the purchase is actually declared time limited at the moment of purchase). In any case they would need to tell you the length of time for which you are purchasing service.
If you are in the EU, demand a refund under this directive or that they supply you with the content you purchased. If you don't get a refund, issue a chargeback if your credit card company is willing.
TBH if you give money to the likes of Ubisoft and EA you deserve your fate. I've stopped ages ago*.
* I don't even pirate their games. I have a backlog of legit bought games that will probably last me more than my natural life time.