Put an expiration date on the storefront and make it clear that your software is not guaranteed to continue working after date X
providing reasonable means to continue functioning of said videogames without the involvement from the side of the publisher
Have your server source code (stripped down of proprietary stuff) ready for public release at EoL
Allow customers to reverse engineer the binaries and communication protocol after EoL
Package dedicated server binaries with the game
----
[0] https://citizens-initiative.europa.eu/initiatives/details/20...
----
[0] https://citizens-initiative.europa.eu/initiatives/details/20...