govariantsteam / govariants

A place to play Go variants
https://www.govariants.com
GNU Affero General Public License v3.0
5 stars 1 forks source link

Use badukVariant values by default. #307

Closed benjaminpjones closed 1 month ago

benjaminpjones commented 1 month ago

Problem: lots of this:

  defaultConfig: Baduk.defaultConfig,
  getPlayerColors: Baduk.getPlayerColors,
  // In the future
  sanitizeConfig: Baduk.sanitizeConfig,
  anotherProperty: Baduk.anotherProperty,

Not sure if this is the way, but I'm looking to prevent a bunch of copied code for Baduk-based variants. Would love your thoughts.