I built my own NES handheld with an ESP32, a 3D-printed case, and a 7.4V battery. It plays games from an SD card.
A Nintendo Advantage-inspired controller to use with the NES Classic Edition or Wii (but for 2-button games).