Shooting Game

Game Controls:

  1. Move Player Left:

    • Press the Left Arrow () key on your keyboard to move the player (blue square) to the left.
  2. Move Player Right:

    • Press the Right Arrow () key on your keyboard to move the player (blue square) to the right.
  3. Shoot Bullet:

    • Press the Spacebar key on your keyboard to shoot a bullet from the player's position. Each time you press the spacebar, a new bullet (red rectangle) is fired upward.
  4. Game Over:

    • If an enemy (red rectangle) collides with the player (blue square), the game will end and show a Game Over message with your final score in an alert box.
Shooting Action Game
Score: 0

Comments