ESPBoy with ESP32

I’d like to make a diy ESPBoy but I would prefer to do it with an esp32, not esp8266, because it have bluetooth, more pins… Is it compatible with ESPBoy software and games or should the code be rewritten with the right libraries?
Thanks for your help.

Okay, thank you for your answer. I think I’ll use an esp8266 because otherwise I would have to rewrite every game in the app store every time I want to use one. Maybe later I will try to make a console from scratch using an esp32…