Open jkomoros opened 7 years ago
MoveThingThatWillHappen
, and if the struct doesn't ahve non-trivial methods then it shouldn't exist and instead just use AutoConfig with the right config methods.Related: heavily comment the examples so that they can be used like a tutorial
MoveConstructor's constructor should have BaseMove be a named argument so that the other values can be omitted, e.g.
MoveConstructor: func(mType *boardgame.MoveType) boardgame.Move {
return &MoveActivateHandmaid{
BaseMove: boardgame.BaseMove{mType},
}
},
E.g use DefaultMove, all naming schemes, what's public and private