Viktory Script

Komputer - an AI for Viktory II

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

Δημιουργός
Stephen Montague
Ημερήσιες εγκαταστάσεις
0
Σύνολο εγκαταστάσεων
8
Βαθμολογίες
0 0 0
Έκδοση
2024-07-13
Δημιουργήθηκε την
24/04/2024
Ενημερώθηκε την
13/07/2024
Μέγεθος
70 KB
Άδεια
Μη διαθέσιμη
Εφαρμόζεται σε

The fourth version of a fully-capable opponent / friendly autopilot for Viktory II on GamesByEmail.

There also a standalone Chrome extension with updates coming soon!

For casual players this plugin makes a fun way to warm up for live play versus humans, online or with the original board game. For advanced players, this plugin is convenient as an autopilot - to quickly build maps and scenarios, or to mop up your last few enemies.


For whoever has the chance, maybe try the original board games by Peter Morrison, including Viktory II and Viktory: Terror in Europe.
https://www.viktorygame.com/
http://terrorineurope.com/
http://morrisongames.com/


I'm not associated with these websites, but Scott Nesin did kindly suggest I could build this plugin when asked about an AI for Viktory II. Checkout his Viktory II clone and other classics like clones of Axis and Allies, Risk, and Diplomacy (more than 100 games) - nearly all singly developed by Scott, on his site GamesByEmail. Without more than a decade of his hard work, expertise, and self-funded server support, none of this would be possible.
http://gamesbyemail.com


This Komputer opponent considers map terrain for troop safety, can maneuver units for more attack vectors, and tries to use combined arms for better infantry support. It wants to besiege / pin enemy towns and attack in groups, while building for civilization defense, expansion, and combat supply. It gives naval support to city defenses, makes amphibious assaults, bombards enemies, and engages ships at sea, especially those with cargo.


This plugin currently supports the smaller (61 hex) GamesByEmail Viktory II preview map for 2 player games, although I imagine this can soon be increased if there's interest. Feel free to get in touch and give ideas for the next version.

---

Installing

1. Quickly install any script manager plugin for your browser, like...

Greasemonkey for Firefox
https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/

Tampermonkey for Chrome
https://www.tampermonkey.net/index.php


2. Then return to this Greasy Fork repo and hit the “Install this script” button. This should open a Greasemonkey / Tampermonkey tab with this script and an install button to add the script.


3. For Chrome, Edge: turn on "Developer Mode" by typing in the address bar:
(or click the 3 dot "Hamburger" settings button > Extensions > Manage...)
chrome://extensions
edge://extensions
- Here there is a "Developer Mode" button to turn on.

Now visit the GamesByEmail Viktory II preview page:
http://gamesbyemail.com/Games/Viktory2#Preview

A new button “Let Komputer Play” should be below the board. Press it to let the Komputer play the next turn.

Have a good one.