Komputer - an AI for Viktory II
Das sind Skriptversionen, bei denen der Quelltext aktualisiert wurde. Alle Versionen anzeigen.
See all updates here:https://github.com/Stephen-Montague/ViktoryII-AI
Added unit maneuvering to gain attack vectors, miscellaneous fixes & improvements.
Changed move scoring functions to get better control of frigates.Added a cancel button to stop play anytime, as soon as possible.Miscellaneous improvements.Added general error handling, just in case, to recover gracefully. [Code should be error free, but past experience with a total codebase of 25k lines (11k game and foundation core from GamesByEmail, 1.6k for this plugin) shows it's good to have a backup plan.]
Upgraded from a Random AI to a Utility AI, where each possible move gets a score estimate.
Protect the button that runs the AI from accidental double-clicks; update the placement of capital units to favor opposite sides, with some randomization; make this script public.
Adjust the timing on unit moves and bombardment.
Significant refactoring done - appears to run faster, more smoothly, and without errors.
Major refactoring ongoing, just a progress update.
Fixed bug preventing movement. Battle code next.