logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Console Ogame Simulator

Description

       Tasks for simulation are consist of text files.

       Example of task concluding all possible units is adduced bellow.

Examples

       Task concluding all possible units:
       attacker
               attack                  = 9
               shield                  = 10
               armory                  = 11

               Small Cargo             = 10
               Large Cargo             = 10
               Light Fighter           = 20
               Heavy Fighter           = 30
               Cruiser                 = 40
               Battleship              = 50
               Colony Ship             = 60
               Recycler                = 70
               Espionage Probe         = 80
               Bomber                  = 900
               Destroyer               = 110
               Deathstar               = 120

       defender
               attack                  = 11
               shield                  = 12
               armory                  = 13

               Rocket Launcher         = 100
               Light Laser             = 200
               Heavy Laser             = 300
               Gauss Cannon            = 400
               Ion Cannon              = 500
               Plasma Turret           = 600
               Small Shield Dome       = 1
               Large Shield Dome       = 1

               Solar Satellite         = 100

               metal                   = 123456
               crystal                 = 56789
               deut                    = 987654

ogamesim                                           Dec 4, 2006                                       ogamesim(6)

Name

       Console Ogame Simulator

Options

-i<inputfile>: task file (STDIN unless defined);

       -o<outputfile>: result file (STDOUT unless defined);

       -s<iterationscount>: 1 <= value <= N (no limits);

       -t<maxsimulationtime>: (seconds) 0 <= value <= N, 0=no limits;

       -f<forkscount>: 0 <= value <= 100.

Return Values

0: if success

Synopsys

ogamesim[-i<task.txt>][-o<result.txt>]

See Also