- If the law says it only applies to games which are purchased for an up-front cost, then make the game free-to-play but with microtransactions
- Include a single-player campaign, which will remain playable even when the multiplayer or game-as-a-service part of the game goes offline
- Just don't allow EU players to buy or play the game
If this were to become law, I expect that it would result in many more games with offline solo play, rather than resulting in more games where the tools to host your own server are provided. That's still probably a victory for players, though.
What happens now is publishers sell games like products - for a single time fee and they don’t let you know when you will stop being able to play the game up front. Then some day they shut down the server and nobody ever can play the game again. Imagine Amazon deleting books you bought from your kindle account. That’s what’s happening now.