In the mid-2000s, the 240x320 screen was the "Goldilocks" zone for mobile displays—just enough detail to render Mario’s sprites without lagging the limited hardware.
protected void paint(Graphics g) // Sky background g.setColor(135, 206, 235); g.fillRect(0, 0, SCREEN_W, SCREEN_H); // Ground g.setColor(80, 160, 80); g.fillRect(0, SCREEN_H - 40, SCREEN_W, 40);
This is the tricky part. Nintendo aggressively DMCA’s fan games, so archives shift constantly.