Skip to main content

A combat analysis tool for StarCraft: Tabletop Miniatures Game

Project description

SC:TMG Tool

A combat analysis tool for StarCraft: Tabletop Miniatures Game. It calculates the expected outcome of clashes between units to help players with list-building decisions.

Disclaimer: This is an unofficial fan-made project. It is not affiliated with, sponsored by, or endorsed by the owners of the StarCraft or StarCraft: Tabletop Miniatures Game trademarks.

Any references to unit names, factions, stats, or other game data are used solely for identification and analytical purposes under fair use — see NOTICE.txt for details.

Screenshot

A word from the author

Is that UpgradeX, which gives TAG-Y, worth Z minerals? I wanted to know, so I created SC:TMG Tool - an unofficial, poorly written, and slow application written in my spare time.

The main idea was to visualize how an upgrade affects the outcome of a clash between two units. So if an upgrade does not directly translate to a lost (or saved) hit point, it's not included.

While the rules of SC:TMG are not that complex, they do not translate easily into a computer program. I applied multiple shortcuts to achieve the functionality I needed most. And - obviously - I might have gotten a more complex rule wrong. Typos (and a wrong stat here and there) are also to be expected.

The tool is slow. It happens so as the result of every clash is simulated 10000 times. The results are saved, though, so returning to an already simulated clash is slightly faster.

Installation

From PyPI

python3 -m venv env
source env/bin/activate
pip install --upgrade pip
pip install sctmgtool
python3 -m sctmgtool

Binary package for Windows

Download a precompiled binary for Windows from https://github.com/lgieryk/sctmgtool/releases

Installation from sources

git clone https://github.com/lgieryk/sctmgtool.git
cd sctmgtool
python3 -m venv env
source env/bin/activate
pip install -e .
python3 -m sctmgtool

You may need to install some additional system packages:

apt-get update && apt-get install python3-tk

Web interface

The project also includes an HTML interface with a Flask backend, not intended to be used by regular desktop users. Refer to the web module documentation for setup and usage instructions.

License

  • Source code: MIT License
  • Data files in src/sctmgtool/units/: distributed under separate terms, see NOTICE.txt.

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

sctmgtool-0.4.5.tar.gz (37.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sctmgtool-0.4.5-py3-none-any.whl (37.6 kB view details)

Uploaded Python 3

File details

Details for the file sctmgtool-0.4.5.tar.gz.

File metadata

  • Download URL: sctmgtool-0.4.5.tar.gz
  • Upload date:
  • Size: 37.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for sctmgtool-0.4.5.tar.gz
Algorithm Hash digest
SHA256 4196c801a539e4427ce9676e28c389acbef8856045a09b0c8762c3a5ef3a6b78
MD5 5b27923fe75c636ea6594d908ddb7cf5
BLAKE2b-256 34b24c924f56e7d4da4fef30391c32d73c9aba33a2a868a1b713e35f67421fcb

See more details on using hashes here.

Provenance

The following attestation bundles were made for sctmgtool-0.4.5.tar.gz:

Publisher: publish.yml on lgieryk/sctmgtool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sctmgtool-0.4.5-py3-none-any.whl.

File metadata

  • Download URL: sctmgtool-0.4.5-py3-none-any.whl
  • Upload date:
  • Size: 37.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for sctmgtool-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a861093d29a84b42e32f9c69dee793db8a730936ebcbeb9f40ad9ef9ad4abebc
MD5 460384144496a29a8165286964dbc5a7
BLAKE2b-256 5e415064198347df5dc5bada45113d85cf168e52adee00440c8263196890f07b

See more details on using hashes here.

Provenance

The following attestation bundles were made for sctmgtool-0.4.5-py3-none-any.whl:

Publisher: publish.yml on lgieryk/sctmgtool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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