Skip to content

Space fighters is an easy two-player 2D game made with pygame.

Notifications You must be signed in to change notification settings

cza19ZY/space-fighters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

🚀 SPACE FIGHTERS

👾 Space fighters is a two-player 2D game made with pygame in python, based on this repository: https://github.com/techwithtim/PygameForBeginners.

Beginning image

⚙️ HOW TO PLAY

💾 REQUIREMENTS

🐍 PYTHON

You can easily download python clicking here and selecting the version your computer needs.

🎮 PYGAME

There are instructions in pygame, but basically you have to open your operating system shell and write the following command line: pip install pygame. This will automatically download the library of pygame.

🧩 SUMMARY

🎯 There are two players, each one a being different ship, which are separated by a white line. They have 10 points of health and infinite bullets to shoot, each bullets can take one point of health from the enemy ship. The player has to reload its bullets after shooting 3 of them, this is represented by a cooldown after 3 shots.
💥 After being hit, the damaged ship has 3 seconds of invulnerability. It will blink to show whether it is vulnerable or not.
🎖 At the end of the game, the program will show which color was the winner and will ask the players if they want to play another match.

Game Image

🕹 KEYS

  • To start playing, press Enter ↵.
  • Player movements and attacks:
    • 🟡 Yellow player: , , , for movement and LEFT Ctrl to shoot.
    • 🔴 Red player: a, w, d, s for movement and RIGHT Ctrl to shoot.

To switch between the options of a rematch use the right () or left () button and press Enter ↵ to select it.

Rematch Image

About

Space fighters is an easy two-player 2D game made with pygame.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages