filiph/egamebook

library packages to potentially pull out of edgehead as external packages?

deinspanjer opened this issue · 0 comments

I'm getting started with a new bare bones book, sibling to edgehead.

Starting with the dependencies declared in bin/play.dart, it looks like there are several library packages that are general purpose for any egamebook. Most notably these include:

  • edgehead/lib/egamebook/**
  • edgehead/lib/fractal_stories/**
  • edgehead/lib/ruleset/**
  • edgehead/lib/src/ink/** -- note that this is in the private src directory, but unlike the other packages in there, it seems generic
  • edgehead/lib/src/predetermined_result.* -- same for this one
  • edgehead/lib/stat.dart -- feels like it could be a sibling to egamebook's book and presenter

I'm trying to decide whether I want to just directly reference the packages in edgehead or refactor and move them up into the monorepo itself.

If you agree that making them external packages would be good, please feel free to suggest a desired location and directory structure and I would be happy to perform the refactoring including the dedicated tests and ensure the tests all still complete.