Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
And now that I'm thinking about it how would that compare to perfect play assuming a random opponent
It's always fascinating to see how certain game mechanics work and the solver you made to figure out the best possibility of winning is insanely useful as well.
D is my favorite language, but it's not very popular. Many people haven't heard of it.
It works using a server-side app. The full graph with the game state scores takes about 20GB and took two hours to generate, so there's no way to do it fully client side like WebAssembly. So, the website just sends a fetch request to a PHP script which runs a command-line binary that produces the result as a JSON object.
I took a look at your code, what is this D language? I've never seen that before. How does it work for the website? Is it via web assembly?
Thanks :)