Skip to main content

Swarm is a strategy rouge-like space simulator game written with `pygame/python3`.

Project description

Swarm

Swarm is a strategy rouge-like space simulator game written with pygame/python3.

Install

pip3 install Swarm

Instructions

The player controls the mothership (white) in the fleet of circles (squares are enemies). All ships in a fleet follow the mothership. The different colors tell you what kind of ship the circle/square represents. Different ships have different abilities, attack ranges, health pools, speeds, etc. Even ships of the same type have somewhat randomized stats.

Ships automatically target the closest enemy and motherships will seek out other fleets to destroy. If a mothership is destroyed, their remaining fleet will surrender to the attacker who destroyed their mothership. The lines indicate that a ship has a target. There is no indication that something is attacking other than it will stop moving towards the target.

The game isn't done yet but it is close. The plan is to randomly spawn in new fleets of enemy ships of increasing difficulty, over time (trivial to implement right now). I'll also be including a remote python console that is attached to certain game objects to allow the player to change the behavior of their fleet using python.

Here are the ships and their functions:

  • White - Mothership. Controls where the fleet goes and has the most health out of all ships. When a mothership is destroyed, their remaining fleet will fight for the winning fleet and part of their mothership's stats will go to the winning mothership as well. This applies to enemy motherships as well, so if an enemy mothership destroys several enemy motherships before you, it will be difficult to destroy.

  • Red - Attack - This is the main attack vessel. It does medium/short ranged attacks.

  • Green - Ranged Attack - This is another attack vessel that does longer ranged attacks, but is weaker.

  • Dark Blue - Tank - This is another attack vessel with higher health, but it does less damage.

  • Pink - Repair - This ship targets friendly ships and blasts them with a stream of hull-repairing nano-bots.

  • Orange/Brown - The Collector/Builder - This ship targets supplies dropped by destroyed ships. When the fleet has enough supplies, a random ship is built.

  • Yellow - Kamikaze - The kamikaze ship has a long range, is super fast, and will run full speed into enemy ships dealing massive damage. The kamikaze ship is lost in the process. It also has very low health so destroying it before it's in range is best!

  • Light Blue - Supplies - Supplies are dropped by destroyed ships and can be collected by the Collector/Builder ships.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Swarm-0.0.1.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

Swarm-0.0.1-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file Swarm-0.0.1.tar.gz.

File metadata

  • Download URL: Swarm-0.0.1.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.2

File hashes

Hashes for Swarm-0.0.1.tar.gz
Algorithm Hash digest
SHA256 bb1ed20e9b1c0090424448ba0e43c847202fbcff3d41a97820db59e6cc88d5dd
MD5 df83a0fce6c621d1ae6ac538033e12e4
BLAKE2b-256 f55bc7292101f413c07bcf2478b0732651a8708049a2ddeed870fd56f862bbcc

See more details on using hashes here.

File details

Details for the file Swarm-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: Swarm-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.2

File hashes

Hashes for Swarm-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c39c39564c71c41490d2acd277e300267d369d1ac6ec922a0e8f5ac16f007199
MD5 79adfce1c1a06c006f5e8d4834a0534e
BLAKE2b-256 1f36b1f94e1accb7111b60a786ca215be4906122849c169e100f7ce8e69ee59d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page