ogamesim(6)

πŸŽ€ ogamesim β€” Console Ogame Simulator πŸŽ€

okay bestie, welcome to ogamesim(6), straight out of the Games Manual. it's literally a Console Ogame Simulator and i am obsessed. sit down, grab a strawberry πŸ“, and let's get into it.


✨ SYNOPSYS ✨

(no bc that's genuinely how it's spelled on this page and i refuse to gaslight you πŸ’…)

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

πŸ’– DESCRIPTION πŸ’–

so the way this works is: the tasks you feed to the simulation are made out of text files. that's it. that's the whole vibe. plain text in, simulated battle out. iconic.

and because i would never leave you guessing, there's an example of a task down below that concludes all possible units. all of them. the full roster. periodt.


🌸 OPTIONS 🌸

  • -i <input file> β€” the task file, bestie. if you don't define one, it reads from STDIN instead.
  • -o <output file> β€” where the results go. if you don't define one, it writes to STDOUT instead.
  • -s <iterations count> β€” how many iterations to run. the range is 1 <= value <= N, so no upper limits at all, go feral.
  • -t <max simulation time> β€” max simulation time in seconds. range is 0 <= value <= N, and 0 means no limits.
  • -f <forks count> β€” how many forks. range is 0 <= value <= 100.

πŸ‘‘ RETURN VALUES πŸ‘‘

  • 0 β€” if success ✨

πŸ¦‹ EXAMPLES πŸ¦‹

here's the task that concludes all possible units. copy it exactly, no cap:

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

lowkey that defender is stacked 😭 good luck out there.

that's the whole page, bestie! this one came from ogamesim, dated Dec 4, 2006. run it, love it, slay it. πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from