Greasy Fork is available in English.

Viktory Script

Komputer - an AI for Viktory II

Autor
Stephen Montague
Denne inštalácií
0
Celkový počet inštalácií
2
Hodnotenie
0 0 0
Verzia
2024-07-13
Vytvorené
24.04.2024
Aktualizované
13.07.2024
Licencia
neuvedené
Spustiť na

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.