Skip to content

🃏 Determine the MTG metagame using K-means++ clustering

Notifications You must be signed in to change notification settings

GoldinGuy/MTGMeta-TS

Repository files navigation

MTGMeta-TS

🃏 Determine the MTG metagame using k-means++ clustering

Uses K-Means-TS as a submodule

Development setup

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

Usage - Node.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

Contributing

  1. Fork K-Means-TS here
  2. Create a feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

Meta

Adapted from MTGMeta-PY by @GoldinGuy (which itself is based on @StrikingLoo's MTG-Recommender)

About

🃏 Determine the MTG metagame using K-means++ clustering

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published