Basic draft library #19

Merged
hamcha merged 13 commits from feature/draft-lib into master 2019-09-16 13:53:07 +00:00
Owner

Most of the code will be ported from mcg/draft, but there will be some paradigm shift (since TypeScript has generators but doesn't have channels), plus some niceties since server and client code are shared.

What's needed?

  • Providers that output random cards from specific card pools
  • Slots with alternates (slot that can contain SR/UR instead of C)
  • Cube support
  • Parsing cube .txt
  • I8PCube support
  • Parsing I8PCube .json files
  • Draft session management (doesn't have to use the same protocol as mcg/draft)
  • Bots to fill draft slots

Tests

  • Set provider tests
  • Booster pack generation tests
  • Cube tests
  • I8PCube tests
  • Session tests

Aiming for decent test coverage, but for testing to begins the Deck Builder must be merged first!

Most of the code will be ported from mcg/draft, but there will be some paradigm shift (since TypeScript has generators but doesn't have channels), plus some niceties since server and client code are shared. ## What's needed? - [x] Providers that output random cards from specific card pools - [x] Slots with alternates (slot that can contain SR/UR instead of C) - [x] Cube support - [x] Parsing cube .txt - [x] I8PCube support - [x] Parsing I8PCube .json files - [x] Draft session management (doesn't have to use the same protocol as mcg/draft) - [x] Bots to fill draft slots #### Tests - [x] Set provider tests - [x] Booster pack generation tests - [x] Cube tests - [x] I8PCube tests - [x] Session tests Aiming for decent test coverage, but for testing to begins the Deck Builder must be merged first!
hamcha added a new dependency 2019-09-11 16:01:48 +00:00
hamcha added the
feature
limited
labels 2019-09-11 16:02:11 +00:00
Author
Owner
Coverage info: https://artifacts.fromouter.space/mcg/pr-19/coverage/lcov-report/index.html
hamcha changed title from WIP: Basic draft library to Basic draft library 2019-09-16 13:52:38 +00:00
hamcha closed this pull request 2019-09-16 13:53:07 +00:00
hamcha deleted branch feature/draft-lib 2019-09-16 14:51:46 +00:00
Sign in to join this conversation.
No description provided.