RattleyCooper/Swarm
Swarm is a strategy rouge-like space simulator game written with `pygame/python3`.
Platform-specific configuration:
{
"mcpServers": {
"Swarm": {
"command": "npx",
"args": [
"-y",
"Swarm"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
Swarm is a strategy rouge-like space simulator game written with pygame/python3. Swarm currently equires python 3.5+ to run. This may change in future versions.
pip3 install pygame pip3 install Swarm
It's probably best to just download the archive and run the game, as it's not set up as a library or anything like that.
python3 /Path/To/Swarm/main.py
Hold the w a s and d keys or the directional keys to move your mothership around.
Use the tab key to enable auto-move. It will automatically move your mothership towards it's closest target. Your ship starts with auto-move disabled. Your ship will not automatically seek out repairs unless it is in auto-move mode.
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:
Loading reviews...