type ArmWrestleChallenge … type armWrestleRound … func resolveFight(fight *ArmWrestleChallenge) { … } func determineStrength(competitor common.UserRecord) (strength int) { … } func (r *ArmWrestleChallenge) determineChallengerStrength() { … } func (r *ArmWrestleChallenge) determineDefenderStrength() { … } func (r *armWrestleRound) resolveRound() { … } func (r *armWrestleRound) determineWinnerDamage() { … } func (r *armWrestleRound) determineLoserDamage() { … }