A classic Space Invaders game implementation using JavaFX.
Space Invaders is an iconic arcade game that has captivated players since its release in 1978. In Space Invaders, you control a spaceship at the bottom of the screen, defending Earth from waves of descending alien invaders. Your mission is to shoot down the aliens before they reach the bottom of the screen. This implementation features:
- A player-controlled spaceship that can move left and right and shoot lasers
- Rows of alien invaders that move side to side and gradually descend
- Protective barriers that can be damaged by both player and alien fire
- A scoring system that rewards players for each alien destroyed
- Multiple lives for the player, with the game ending when all lives are lost
- Java
- JavaFX
- Left Arrow: Move ship left
- Right Arrow: Move ship right
- Space: Shoot
- Esc: Pause game
- Add sound effects and background music
- Implement different types of invaders
- Create a high score system
- Add power-ups for the player