Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attacker ¶
type Attacker struct { Weapon int Shield int Armour int ogame.ShipsInfos }
Attacker ...
type Config ¶
type Config struct { IsLogging bool Simulations int Workers int Attacker attackerInfo Defender defenderInfo }
Config ...
type Defender ¶
type Defender struct { Metal int Crystal int Deuterium int Weapon int Shield int Armour int ogame.ShipsInfos ogame.DefensesInfos }
Defender ...
type SimulatorParams ¶
SimulatorParams ...
type SimulatorResult ¶
type SimulatorResult struct { Simulations int AttackerWin int DefenderWin int Draw int Rounds int AttackerLosses price DefenderLosses price Debris price Recycler int Moonchance int Logs string }
SimulatorResult ...
func Simulate ¶
func Simulate(attackerParam Attacker, defenderParam Defender, params SimulatorParams) SimulatorResult
Simulate ...
Click to show internal directories.
Click to hide internal directories.