type BarFight … var fightsMu … var activeChampionShipBattles … func beginFight(fight *BarFight) { … } func (f *BarFight) simulate() { … } func (f *BarFight) mainfightLoop() { … } func (f *BarFight) fightnotes() { … } // Determine Is X percent of Value func toPercentOf(value int, isPercentOf int) int { … } // return X percent of Int func getPercentOf(percent int, Of int) int { … }