I found a player named kilograham(https://github.com/kilograham/rp2040-doom) on GitHub who ported the DOOM source code to the Raspberry Pico, but it could only be played by connecting to a VGA monitor. So I made some modifications to make DOOM run on the Raspberry Pico and LCD ILI9341.
My github: https://github.com/pondahai/rp2040-doom-ili9341
Thanks to kilograham for making a huge contribution. He has made a big rewrite of the doom source code so that doom can run on rp2040 (Raspy Pi pico). I just modified it to display it on LCD (ST7789).