Freeciv ai only11/14/2023 You can check out the leader board at the Hiro website. You should be able to teach the machine the stuff you have to do every day, and then go off and do new stuff," he said.Īs for the Freeciv players who helped with the project, there's more fun in store for them, too.Īrago organized the training program for Hiro as a tournament, with the AIs playing against one another on a variety of maps. "I believe AI should be an augmentation of people. Making work more interesting is what AI is for, according to Boos. "We'll keep this up just to make the machine more fun to interact with," he said. That led the team to reconsider the feedback cycle on the learning interface, and look for ways to speed things up. "If it's not fun to use the machine, they'll quit," Boos said. Teaching a computer everything you know about a task, one little rule at a time, can be pretty boring, something the Arago team had to consider when they began working with gamers. "We even store the machine learning data in exactly the same graph."Īpart from creating a robot sysadmin that could play Freeciv with its workmates when off duty, the project does have another benefit for IT staff. "It's exactly the same software doing it," he said. The Freeciv player and the sysadmin versions of Hiro have a lot in common, according to Boos. If the map is very big, it may take too long for the AI to declare war for this to matter.Arago's approach means that its AI isn't quite the black box that others can be, as it's possible to identify which rule was activated in a particular circumstance - and even who taught it that rule, and why. This is quite risky and can backfire: if you don't manage to exceed its production you may find yourself losing by one turn.īut, because the AI thinks it's ahead of you, it won't confer upon you any diplomatic penalties related to the space race victory condition. The second way you can exploit things (at least for a while, until you launch ahead of the AI) is to stay one turn behind it in the building of the space-ship, then increase your production greatly for the final few turns to jump ahead of the AI. Typically just defending your lands until the spaceship arrives is a far cheaper option in nearly any game, as you would need to send 200 gold plus 2,000 gold per city you own worth of stuff in a trade deal with the AI in question for it to like you completely again. Exactly how much stuff you would need to give away to do this depends on game settings, AI opinions about the value of things, and so on. So the only way to stop the AI player from warring is to, within the turns it takes for the space ship to arrive, send it enough bribes and other signs of goodwill to completely flip over its attitude again to be able to peace out of the war it will start. The AI will also set its secret love variable (see my answer to your previous question: Does Freeciv AI attitude worsen if I clean up pollution and nuclear fallout on their land?) to the minimum possible. (Iff the AI is themselves ahead in the space-race compared to you, it will not care about your spaceship: it will instead attempt to launch and win first.) This code will always execute while the AI is not the spacerace leader itself. War_countdown(ait, pplayer, aplayer, 4 + map_size_checked(), Check the file /ai/default/daidiplomacy.c, lines 1558 thru 1594, the code block containing: if (aplayer->spaceship.state = SSHIP_LAUNCHEDĭIPLO_LOG(ait, LOG_DIPL, pplayer, aplayer, "plans war due to spaceship") The AI is explicitly coded to cancel all alliances and shared vision pacts, start hating you, and go to war when a spaceship is launched. If the AI cannot manage to do so and you launch before the AI anyway, it will realize that the only way it can stop your victory is by taking you out before the spaceship arrives and will go to war in a few turns time (5 or more depending on map size). The AI correctly evaluates such a position as bad, and will attempt to make you stop buliding your spaceship using diplomacy at first. It realizes you are winning and will try to gang up on the leader to prevent this from happening and prolong the game. Only pre-game-defined team members, not all allies are granted a victory when a spaceship arrives at Alpha Centauri. Allied victory is not allowed in the space race
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |