A no longer supported but DRM-free offline game can likely still be played. You can find an old computer, or use emulation or virtual machines to run it.
But if the game uses DRM or online services it can become impossible to play once the company stops actively supporting it.