Skip to content

SantiagoGuiral/space_battle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space Battle with image processing

Space battle is an interactive game for 2 people whose purpose is to move two objects of different colors that allows to ocntrol the game' spacecrafts. These spacecrafts automatically shot projectileswith the objective to impact the opponent . The winner is the player that takes all the health points from the other user.

The project was developed for the course of digital image processing at the university of Antioquia.

Authors:

Santiago Ríos Guiral(@SantiagoGuiral)

Emmanuel Gomez Ospina(@Ego2509)

University of Antioquia.

Electronic and Telecommunications department.

Medellin, Colombia.

Install Python dependencies

The application requires the following dependencies.

pip install numpy
pip install pygame
pip install opencv-python

Execute the game

To star the game, execute the following command in a terminal.

python batalla_espacial.py

Usage

  1. Before starting the game, the user need to have have 2 objects of color red and green to move the spacecrafts. Each object must have a min. area of 6cm.
  2. Execute the require command to open the game.
  3. Start the game from the intial menu.
  4. Star to play. Each player control a spacecraft by moving the associated object (green or red).
  5. The game's winner is the player that takes all the health from the other user.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages