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.
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sctmgtool-0.4.1.tar.gz.
File metadata
- Download URL: sctmgtool-0.4.1.tar.gz
- Upload date:
- Size: 26.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f04cea550906c3cb037ce5c7574828e1e8fe69ef282198b15d9c9532a789ede8
|
|
| MD5 |
a49f0fe09081ac8f4462fd12116698a6
|
|
| BLAKE2b-256 |
d98ba412ff0d40bc7585584f00cefd751dfdfca25b5f27f88e082b3d32447288
|
Provenance
The following attestation bundles were made for sctmgtool-0.4.1.tar.gz:
Publisher:
publish.yml on lgieryk/sctmgtool
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sctmgtool-0.4.1.tar.gz -
Subject digest:
f04cea550906c3cb037ce5c7574828e1e8fe69ef282198b15d9c9532a789ede8 - Sigstore transparency entry: 2248496667
- Sigstore integration time:
-
Permalink:
lgieryk/sctmgtool@dbf8242ec8e98f474abe5fa6af7e7e8c44757237 -
Branch / Tag:
refs/tags/v0.4.1 - Owner: https://github.com/lgieryk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@dbf8242ec8e98f474abe5fa6af7e7e8c44757237 -
Trigger Event:
release
-
Statement type:
File details
Details for the file sctmgtool-0.4.1-py3-none-any.whl.
File metadata
- Download URL: sctmgtool-0.4.1-py3-none-any.whl
- Upload date:
- Size: 26.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
084a460fb9799f887a215dc1b5cec406804f43d34b7bd6334f1a0604e683bf7a
|
|
| MD5 |
3f529f5ccc753d86b78a25a019c158df
|
|
| BLAKE2b-256 |
2f7bf83293ef129ef6d31a39b255af37eb46876123f0df8eb8d308b56d01065e
|
Provenance
The following attestation bundles were made for sctmgtool-0.4.1-py3-none-any.whl:
Publisher:
publish.yml on lgieryk/sctmgtool
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sctmgtool-0.4.1-py3-none-any.whl -
Subject digest:
084a460fb9799f887a215dc1b5cec406804f43d34b7bd6334f1a0604e683bf7a - Sigstore transparency entry: 2248496947
- Sigstore integration time:
-
Permalink:
lgieryk/sctmgtool@dbf8242ec8e98f474abe5fa6af7e7e8c44757237 -
Branch / Tag:
refs/tags/v0.4.1 - Owner: https://github.com/lgieryk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@dbf8242ec8e98f474abe5fa6af7e7e8c44757237 -
Trigger Event:
release
-
Statement type: