Sure, here's a basic implementation of the Space Invaders game using the Mario star pictogram. The game is designed to be played on all devices, including smartphones. Save the following code in a single HTML file and open it in any web browser to start playing.
In this implementation, you control the Mario star using the left and right arrow keys. The star will move horizontally within the game canvas, trying to avoid the invaders. You can further enhance the game by adding enemy invader objects and implementing collision detection logic.