Sure, here's an example of a simplified version of Super Mario Bros combined with Atari Pong, designed to run on all devices. It is implemented as a single HTML file and contains JavaScript enclosed in script tags. The game will start processing once the webpage is loaded. Note that this is a very basic implementation and does not include all the features of the original games.
To play the game, simply copy the above code into a blank HTML file and open it in a web browser. Use the left and right arrow keys to control Super Mario Bros and try to avoid the red Atari Pong block. If Mario collides with the Pong, a game over alert message will be displayed, and you can reload the page to start a new game.