fernaper / Ogame-API

This OGame API allows you to retrieve all the information from Ogame's espionage reports.
Apache License 2.0
1 stars 0 forks source link

Locate the best site to colonize a planet #6

Open DiplomaticRobot opened 6 years ago

DiplomaticRobot commented 6 years ago

using the number of farms and the production of those.

fernaper commented 6 years ago

@SergiPerello

The answer will always be 7-8-9 positions for size, 13-14-15 for deuterium and 1-2-3 for energy. Also in the general case, again it would be 7-8-9.

Correct me if I'm wrong, but I think it has no complexity, right?

If you agree with me, close the issue, if not, explain a little more the problem you intend to solve.

DiplomaticRobot commented 6 years ago

@fernaper Acording to the database, we can define the best position in the galaxy and the solar system witch has nearer and richer farms. If there are 3 farm at 1:22 with 200k resources and 1 at 1:34 with 800k resources (assuming you are at 1:1), the system can use the farm information to recomend to colonize at 1:33 near the richest farm/s

fernaper commented 6 years ago

In other words, your plan is to build your empire according to the farms that currently exist in the game. This is a valid option, but the farms do not last much longer than 1 month.

However, I think it can be a good feature to add, for this we can use the links provided by Ogame with the planets per serve (Of course, this means that you must be able to assign the server where you are through the interface).

This way when recommending you, you will never be told a busy position.

DiplomaticRobot commented 6 years ago

We can do it a little more simple, the system tells you the best solar system acording to the farms. Not a exact position, a solar system zone. Agree?

fernaper commented 6 years ago

Oh it's okay, I'll do it.