A node.js app to rate Eternal cards. Built to be used as an api for other projects. Provides terminal rendering
This is an initial attempt to get something working that I can use. It's mainly aimed at sorting and rating sealed/draft card lists. It uses ratings spreadsheets I've found online, and the excellent resources from Eternal Warcry.
- Install node.js: https://nodejs.org/en/download/
- Install Yarn: https://yarnpkg.com/lang/en/docs/install
- Clone or download this repository
cd eternal-ratings && yarn
const eternalRatings = ;
See render.js for an example.
rateCards will return rated cards including details from the Eternal Warcry API.
ratedCards returns all cards with ratings.
groupCards returns a grouped set of rated cards. Used as prep for rendering by the terminal renderer.
parseCardExport parses name and count from a line of Eternal export.
"1 Helpful Doorbot (Set3 #2)" becomes
- Paste an exported Eternal card list into the file with the really obvious name (
yarn startto render grouped output to terminal.
This project stores a list of all cards with ratings (where available) in rated_cards.json. The file can be updated (for new cards/ratings) with
✨ Future Improvements ✨
Better fixing card detection (it's pretty simple right now 😪)
Display influence types for multifaction, and fixing cards (cost as well as what they generate)
A web app! (import card list, output to browser, more features)
Contributions are welcome. Linting and formating using the configured tools (eslint, prettier) is appreciated!
This tool wouldn't be possible without the following resources:
Eternal card details are pulled from https://eternalwarcry.com/cards/download.
Card ratings are pulled from an aggregated Google Sheets document that I put together from these three sheets:
Thanks to the Dire Wolf Digital and the great Eternal community for making these resources available!