[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-684450-105":59,"doc-detail-684450-en":130,"doc-similar-684450":201},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","implementing-superhuman-ai-for-azul-board-game-nnue-variant","Implementing Superhuman AI for Azul Board Game - NNUE Variant","","The thesis investigates how superhuman AI can be implemented for the Azul board game using an NNUE-based agent. Starting from a Minimax search approach with handcrafted heuristics, the work develops an NNUE agent inspired by strong performance trends in Chess and Shogi. To validate strength in a real competitive environment, the agent is integrated with Board Game Arena (BGA), where it targets both all-time and seasonal rankings. Results show first place in both rankings and new world ELO records, supported by additional games versus top-five players.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/implementing-superhuman-ai-for-azul-board-game-nnue-variant/684450/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/implementing-superhuman-ai-for-azul-board-game-nnue-variant/684450.png","ImageObject",300,407,{"name":92,"@type":93},"naya.afterrain","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-29","2026-11-06",true,{"@type":102,"interactionType":103,"userInteractionCount":24},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"Why was Azul chosen as the target board game?","Question",{"text":112,"@type":113},"Azul is a widely recognized board game published in 2017. The thesis also aims to test AI on a board game that differs notably from classic deterministic games like Chess, Go, and Shogi.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What approaches are used to build and improve the AI agent?",{"text":117,"@type":113},"The work starts with a Minimax search using handcrafted heuristics, then improves performance with an NNUE-based agent inspired by successes in Chess and Shogi.",{"name":119,"@type":110,"acceptedAnswer":120},"How was the agent evaluated against real players?",{"text":121,"@type":113},"Evaluation includes integration with Board Game Arena (BGA), using its all-time and seasonal rankings. The agent achieved first place in both rankings and established new world ELO records, with additional games against players from the top five.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},684450,1794004943,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":24,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":145,"preview_urls":146},962094248482,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","Implementing superhuman AI for Azul board game with a variation of NNUE  \n(Implementacja nadludzkiej sztucznej inteligencjiw grze planszowej Azul z wykorzystaniem wariantu NNUE)  \nMateusz Rzepecki  \nPraca magisterska  \nPromotor: dr Jakub Kowalski  \nUniwersytet Wrocławski  \nWydział Matematyki i Informatyki  \nInstytut Informatyki  \n26 września 2025  \nAbstract  \nAI is known for outperforming humans in board games such as Chess, Go, Shogi and Reversi. All of those games are deterministic and of a similar type. We wanted to see how AI can tackle a significantly different board game. We picked Azul which is a board game published in 2017 that won many award and has a world recognition.  \nFirstly, we implemented Minimax search that used handcrafted heuristics. After that, inspired by good performance in Chess and Shogi, we created NNUE-based agent that outperformed our previous solution significantly. To further test our agent, we implemented interaction with Board Game Arena (BGA), which is a webpage where people from all over the world can play different board games (including Azul) . There are two rankings there, all-time and season, where the latter resets every three months. Our agent managed to reach first place and beat world ELO record in both rankings. Additionally, we played three games with a player from top five in the all-time ranking and won 2 , 5 : 0 , 5.  \nSztuczna inteligencja znana jest z pokonywania ludzi w grach planszownych, takich jak: Go, Othello, Shogi czy Szachy. Wszystkie te gry mają sporo wspólnychcech, np. determinizm. Chcieliśmy zobaczyć, jak sztuczna inteligencja poradzi sobiez grami planszowymi trochę innego typu. Do tego celu wybraliśmy, wydaną w 2017 roku, grę planszową Azul, która dość szybko zdobyła uznanie na arenie międzynarodowej i wygrała wiele nagród.  \nNasze próby zaczęliśmy od implementacji algorytmu Minimax oraz ręcznegostworzenia heurystyk. Zainspirowani dobrymi wynikami w Shogi oraz Szachach, stworzyliśmy agenta używającego NNUE, który zdeklasował nasze poprzednie podejście. Do dalszych testów zaimplementowaliśmy interakcję ze stroną internetową Board Game Arena (BGA), na której ludzie z całego świata mogą grać ze sobą w gry planszowe (w tym w Azula) . Są na niej dwa rankingi -wszechczasów oraz sezonu, który jest resetowany raz na trzy miesiące. Naszemu agentowi udało się zająć pierwsze miejsce w obu tych rankingach, co pozwoliło mu ustalić w nich nowe rekordy ELO. Dodatkowo, zagraliśmy trzy gry z graczem z najlepszej piątki rankingu wszechczasówi pokonaliśmy go 2 , 5 : 0 , 5.  \nContents  \n1 Introduction 7  \n1.1 Motivation ................................. 7  \n1.2 Our contribution ............................. 8  \n2 Azul board game 11  \n2.1 Rules .................................... 12  \n2.2 Game overview from people’s point of view .............. 15  \n2.2.1 BGA article ............................ 15  \n2.2.2 PriptoniteAZUL youtube channel ................ 16  \n3 Related Work 17  \n4 Codebase 19  \n4.1 Directories overview ........................... 20  \n4.2 C++ commander ............................. 24  \n4.3 Python commander ............................ 26  \n5 Search methods 33  \n5.1 Game engine ............................... 33  \n5.2 MCTS ................................... 35  \n5.3 Minimax .................................. 36  \n5.3.1 Enhancements .......................... 36  \n5.3.2 Heuristics ............................. 38  \n5.3.3 NNUE ............................... 41  \n6 CONTENTS  \n6 Playing online 45  \n6.1 Domwil .................................. 46  \n6.2 BGA .................................... 46  \n7 Training loop 51  \n7.1 Zeroth training round .......................... 51  \n7.2 First training round ........................... 53  \n7.3 Second training round .......................... 59  \n7.4 Third training round ........................... 60  \n7.5 Fourth training round .......................... 68  \n7.6 Fifth training round ........................... 72  \n7.7 Sixth tra","cbCaicF4ouX6RQ2Z","https://ap.wps.com/l/cbCaicF4ouX6RQ2Z","pdf",6041151,122,"English","# Introduction\n## Motivation\n## Our contribution\n# Azul board game\n## Rules\n## Game overview from people’s point of view\n### BGA article\n### PriptoniteAZUL youtube channel\n# Related Work\n# Codebase\n## Directories overview\n## C++ commander\n## Python commander\n# Search methods\n## Game engine\n## MCTS\n## Minimax\n### Enhancements\n### Heuristics\n### NNUE\n# Playing online\n## Domwil\n## BGA\n# Training loop\n## Zeroth training round\n## First training round\n## Second training round\n## Third training round\n## Fourth training round\n## Fifth training round\n## Sixth training round\n## Final training loop design\n## Further training rounds\n## Summary of training rounds\n# Final Experiments\n## Best model selection\n## Best agent selection\n## Results on BGA\n## Understanding our agent\n# Conclusions and future work","[{\"question\":\"Why was Azul chosen as the target board game?\",\"answer\":\"Azul is a widely recognized board game published in 2017. The thesis also aims to test AI on a board game that differs notably from classic deterministic games like Chess, Go, and Shogi.\"},{\"question\":\"What approaches are used to build and improve the AI agent?\",\"answer\":\"The work starts with a Minimax search using handcrafted heuristics, then improves performance with an NNUE-based agent inspired by successes in Chess and Shogi.\"},{\"question\":\"How was the agent evaluated against real players?\",\"answer\":\"Evaluation includes integration with Board Game Arena (BGA), using its all-time and seasonal rankings. The agent achieved first place in both rankings and established new world ELO records, with additional games against players from the top five.\"}]","Implementing Superhuman AI for Azul Board Game - NNUE Variant | PDF",307,13,[147,151,155,159,163,167,171,175,179,183,187,192,197],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/e2d13dc7aecc39b3c28d6945ffcca33d.webp",983,1390,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/ad1bfc48f0f9f919b98d631cc804bd75.webp",982,1388,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/1befb8c954ad4fb0e9fd45f4052c2984.webp",981,1387,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/2a75d0a4eb43918ac5f60f486f5b7661.webp",980,1385,{"page_no":24,"url":164,"width":165,"height":166},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/471032488638d9adefcbf8d6ac2a3029.webp",979,1384,{"page_no":29,"url":168,"width":169,"height":170},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/3e8db965d6ee24c68d1b0978377a1af7.webp",978,1383,{"page_no":34,"url":172,"width":173,"height":174},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/ec665b2689f259c7291cbd7a3b524dff.webp",977,1381,{"page_no":39,"url":176,"width":177,"height":178},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/d1bc0e43d17f86e81127b7538a1471b8.webp",976,1380,{"page_no":44,"url":180,"width":181,"height":182},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/bf94b5043af9f66f887b8d693bf79f0d.webp",975,1378,{"page_no":52,"url":184,"width":185,"height":186},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/98bf6dea8d527cd6a316b440900bda38.webp",974,1377,{"page_no":188,"url":189,"width":190,"height":191},11,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/91afaf47c1ed0eac7e05bce44815e68b.webp",973,1375,{"page_no":193,"url":194,"width":195,"height":196},12,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/41e4463e8781ada7af46b2da46603625.webp",972,1374,{"page_no":145,"url":198,"width":199,"height":200},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/aa2adfb435a784f1347a83c42da64368.webp",971,1373,{"list":202,"token":66},[203,209,215,221,227,233,240,246,252,258],{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":24,"category_name":40,"create_tm":208},673345,"The Thinker's Game - Decoding the Chess Universe","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990738277/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110799&Signature=zUO4%2BR0YZP9uG%2Fq26ZWfryEbCnQ%3D","the-thinkers-game-decoding-the-chess-universe",1793631294,{"doc_id":210,"doc_title":211,"file_type":137,"home_preview_img_url":212,"slug":213,"view_count":19,"category_name":40,"create_tm":214},671856,"Learning to Plan via Supervised Contrastive Learning and Strategic Interpolation - A Chess Case Study","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988785889/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110799&Signature=FQfUh%2Ft%2B9ftZyzV%2BJFtPkoNlIjA%3D","learning-to-plan-via-supervised-contrastive-learning-and-strategic-interpolation-a-chess-case-study",1793581662,{"doc_id":216,"doc_title":217,"file_type":137,"home_preview_img_url":218,"slug":219,"view_count":188,"category_name":40,"create_tm":220},268067,"Rockford IceHogs vs Chicago Wolves Game - Game #482 - Media Kit","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229898156651/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110799&Signature=4%2F40soRZugXNVFqut10ynds%2B8s8%3D","rockford-icehogs-vs-chicago-wolves-game-game-482-media-kit",1789428112,{"doc_id":222,"doc_title":223,"file_type":137,"home_preview_img_url":224,"slug":225,"view_count":29,"category_name":40,"create_tm":226},672958,"The Mathematics of Chess - A Beginner’s Guide to Some of the Fascinating Mathematics Deeply Rooted in the Historic Game of Chess","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990236448/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110799&Signature=zZljJPgrq5uEIboK2fwaRtmrCEE%3D","the-mathematics-of-chess-a-beginners-guide-to-some-of-the-fascinating-mathematics-deeply-rooted-in-the-historic-game-of-chess",1793615926,{"doc_id":228,"doc_title":229,"file_type":137,"home_preview_img_url":230,"slug":231,"view_count":81,"category_name":40,"create_tm":232},671840,"OPTICAL INTERACTIVE CHESS BOARD FOR BEGINNERS - Final Report - Spring 2024","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988410732/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110799&Signature=Y4unmAJQFlKP6bUp5hL4%2Fn1N3ns%3D","optical-interactive-chess-board-for-beginners-final-report-spring-2024",1793581427,{"doc_id":234,"doc_title":235,"file_type":137,"home_preview_img_url":236,"slug":237,"view_count":238,"category_name":40,"create_tm":239},128380,"Minimax-Bayes Reinforcement Learning - Abstract","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229839690872/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110799&Signature=HiFF2FX86SIxZeYMqT65eAZW7rs%3D","minimax-bayes-reinforcement-learning-abstract",25,1785947190,{"doc_id":241,"doc_title":242,"file_type":137,"home_preview_img_url":243,"slug":244,"view_count":81,"category_name":40,"create_tm":245},673178,"Modular Discovery of General Game-Playing Algorithms with Large Language Models - arXiv 2609.33115","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990398684/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110799&Signature=uiix0BoEZfvprvG895odaE1UJCQ%3D","modular-discovery-of-general-game-playing-algorithms-with-large-language-models-arxiv-260933115",1793623523,{"doc_id":247,"doc_title":248,"file_type":137,"home_preview_img_url":249,"slug":250,"view_count":238,"category_name":40,"create_tm":251},86241,"Communicating Chess Strategies in Natural Language","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809513503/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110799&Signature=Aembf%2FuFCb6GyEl8k6dQ9yuZtkM%3D","communicating-chess-strategies-in-natural-language",1784209736,{"doc_id":253,"doc_title":254,"file_type":137,"home_preview_img_url":255,"slug":256,"view_count":81,"category_name":40,"create_tm":257},682315,"Programming a Chess AI - Master thesis report - Mocksh","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999474092/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110799&Signature=aaIxyFLa6JTJkZLisR1ABIoK4bA%3D","programming-a-chess-ai-master-thesis-report-mocksh",1793965908,{"doc_id":259,"doc_title":248,"file_type":137,"home_preview_img_url":260,"slug":261,"view_count":81,"category_name":40,"create_tm":262},681864,"https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999250412/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110799&Signature=xVeS5I94qtZxy4z7a%2FLwtjcOY8I%3D","communicating-chess-strategies-in-natural-language-681864",1793955676]