A Komputer opponent / autopilot for Viktory II.
Viktory II Komputer Extension
For anyone who hasn't played before: Viktory II looks a bit like Civilization or Catan, and it plays like a speedy game of Risk and Axis & Allies. After reading the simple rules on GamesByEmail, you can try to conquer this Viktory II Komputer, then play versus up to 8 friends for the ultimate challenge. Here's some of what you can do:
Build your capital, towns, and cities on newly explored land - command infantry, artillery, cavalry, and frigates - connect supportive roads and ferries - get combat supply based on settled terrain - bombard from a distance or advance on the enemy - fight or retreat - defend the high ground and narrow passes - cavalry charge over rough terrain - land amphibious invasions - siege towns to hinder supply - maneuver troops for attack vectors and use combined arms for stronger assaults.
Special thanks to the GamesByEmail Viktory II author and to the original Viktory II board game inventor for their encouragement. As a single American hobbyist developer in Japan, I've tested this extension locally and do hope it works well - any mistakes are my own.
To use, just add to Chrome, and it'll be ready anytime the Preview tab is open. To use on a large map, resign the default game and select your options. To use in multiplayer, from the game page, press the Extension (puzzle-shaped) Button next to the address bar and select the Viktory icon to add the controls for a local Komputer player.
Uninstall, disable, or manage by going to chrome://extensions. Here, the load behavior can also be verified under \"Viktory II Komputer\" by clicking \"Inspect views - service worker\" (a few lines of code, hopefully readable enough for anyone). The rest of the game code can be checked anytime by right-clicking on the Viktory II preview page and then \"Inspect\" or via my GitHub:
https://github.com/Stephen-Montague/ViktoryII-Komputer
If you'd like to code your own version, give ideas, or share war stories - please feel free to contact me (until this extension gets so extraordinarily popular that I can't keep up). See below on this page - Details - Developer Email - to drop me a note.
My free time for nearly a year was dedicated to build this and thereby help people to learn a beautifully made, relatively new board game - Viktory II. Originally, I planned to create an AI opponent using the MCTS-PUCT algorithm, which I tested on GamesByEmail checkers; however, in the end I opted for a more traditional style Utility AI. Each turn, the Komputer looks at possibly 1,000's of hand-crafted conditions to guess a good move and will often try different ideas.
On security - after install, Chrome gives a message that the extension can read and change data from GamesByEmail (which is true, to play the game) and read tab browsing data, which is also true - only in that it waits for the correct GamesByEmail URL in the address bar, via the Chrome tabs API, and then loads this extension.
Have a good one.
Source Manifest.json
Similar Extensions
Ui.Vision 8 217 ★ 8.08MiB
evyAI - AI Assistant for Social Media 8 88 ★ 1.18MiB
AI Detector for text and images - Winston AI 8 8 ★ 96.44KiB
Battleship War Game 8 8 ★ 9.81MiB
Fake news debunker by InVID & WeVerify 8 40 ★ 3.1MiB
Chess Free Online 8 0 ★ 158KiB
IkaEasy V3 8 187 ★ 4.0MiB
Browse AI: Fast Web Scraping & Monitoring 8 45 ★ 2.08MiB
Classic Games - Play2Day 8 663 ★ 194KiB
Geometry Dash Strategy Game - HTML5 Game 8 68 ★ 6.54MiB
Grass Lite Node 8 2547 ★ 3.05MiB
Alva 8 57 ★ 1.48MiB
AboveVTT 8 238 ★ 2.22MiB
Hover Racer Drive Online Unblocked Games 8 3 ★ 17.0MiB
Drift Cars Zombie Smasher Game 8 1 ★ 91.86MiB
HARPA AI | Automation Agent 8 2898 ★ 3.16MiB
Master Chess 3D 8 8 ★ 3.78MiB
FACEIT Predictor 8 84 ★ 1.41MiB
TicTacToe Game 8 1 ★ 516KiB
IITC Button 8 15 ★ 1.09MiB
Gladiatus Helper Bot: Automate Your Gladiatus Gameplay with Ease 8 150 ★ 1.14MiB
Webutler.AI - AI powered web scraper 8 7 ★ 2.28MiB
Star Wars Offline 8 10 ★ 26.69MiB
Tank Wars Game - Runs Offline 8 3 ★ 12.83MiB