Space Invaders Screensaver
Space Invaders is a free, in-browser recreation of the arcade classic that plays itself with a built-in AI, or that you can play with the β β arrow keys and Space. It serves up endless waves at a rising tempo with no download or install. Press ESC to exit.
How the Space Invaders screensaver works
A grid of 5 rows by 11 columns of aliens β squid, crab, and octopus sprites drawn pixel by pixel β marches sideways in lockstep, stepping down and reversing direction each time the formation reaches a screen edge. The fewer aliens left alive, the shorter the step interval, so the swarm visibly speeds up as you clear it.
In Auto-play mode (the default) an AI drives the cannon: it dodges incoming bombs by sidestepping, fires at the lowest alien in line, and prioritizes the bonus UFO that occasionally crosses the top. In Manual mode you steer with the arrow keys and fire with Space.
Four destructible bunkers sit above the cannon as pixel grids that erode where shots strike β both your fire and alien bombs chew holes into them. Aliens drop bombs from the lowest occupant of a random column, and clearing a wave spawns the next one faster, raising the difficulty.
The scene reproduces the arcade HUD β SCORE, HI-SCORE, the remaining-lives row, and the base line β and a mystery UFO worth a random bonus streaks across the top, all tinted in your chosen color over your background.
A worked example
With the defaults β mode Auto-play, speed 5, color #39ff5b on background #04060a β a green AI cannon clears wave after wave, sheltering behind eroding bunkers and picking off the UFO, with the swarm accelerating as it thins. Switch to Manual to take the cannon yourself with the arrow keys and Space, or raise Speed to 10 for a frantic pace.
Settings & tips
- Set Mode to Auto-play to watch the AI clear endless waves, or Manual to play it yourself with β β and Space.
- Use the Speed slider (1β10) to dial the overall march and fire tempo from leisurely to frantic.
- Recolor the aliens, cannon, and bunkers with the Color picker and set the Background for a phosphor-arcade look.
Frequently asked questions
- Is the Space Invaders screensaver free?
- Yes. It runs free in your browser with no download, install, or account. The game starts as soon as the page loads.
- Can I play Space Invaders myself or does it auto-play?
- Both. The default Auto-play mode lets an AI play, while Manual mode lets you steer with the left and right arrow keys and fire with the Space bar.
- How do I exit the Space Invaders screensaver?
- Press the ESC key to exit at any time and return to the page.
- Do the waves get harder?
- Yes. The swarm steps faster as you clear aliens, and each new wave spawns at a higher tempo, so the difficulty keeps rising.
- Are there bunkers and a UFO like the arcade game?
- Yes. Four destructible bunkers erode as they take fire, and a mystery UFO worth a random bonus periodically crosses the top of the screen.