🃏 Determine the MTG metagame using k-means++ clustering
Uses K-Means-TS as a submodule
Simply clone the repository, then run
--ts-config init
This will create a tsconfig.json
file. Ensure you have the following settings:
"target": "ES6"
"module": "commonjs"
"downlevelIteration": true
If you are using VSCode, enter Ctrl-Shift-B
and then tsc:watch
, which will auto-compile TS to JS
You can run this project in the terminal with node metagame.js
Alternatively, you can install the awesome VSCode extension Code Runner, which is very convenient
- Fork K-Means-TS here
- Create a feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request
Adapted from MTGMeta-PY by @GoldinGuy (which itself is based on @StrikingLoo's MTG-Recommender)