You can still play those using Dosbox (an emulator) and downloading the games from various archives. There are also browser ports for several games. One of the recent ones I saw, which was also shared here, was Prince of Persia (https://princejs.com/ ).