
nadim@infosec.exchange ("Nadim Kobeissi") wrote:
Some improvements I made to my most underrated software project, Runes of Ardun (https://runesofardun.app) over the weekend:
• Sharper, More Tactical AI
I fine-tuned the AI’s evaluation engine to better exploit weaknesses and capitalize on opportunities. I ran a bunch of sample comparisons against top shogi/chess engines (Fairy-Stockfish) and the results were very promising.• Massive AI Performance Boost with Multithreading!
I finally integrated multithreading using the LazySMP algorithm, significantly enhancing the AI’s performance. The AI can now evaluate moves faster and smarter by leveraging multiple CPU cores (up to 5.5 million positions per second on my M1 Max CPU). This upgrade delivers a noticeably stronger and more responsive opponent across all difficulty levels.• Streamlined AI Cache for Improved Efficiency
The AI cache now consumes much less memory without sacrificing performance. This optimization allows the game to run more smoothly, even during long sessions.• Significantly Faster AI Cache Performance
In addition to reduced memory usage, the AI cache has been supercharged for much faster retrieval times, making the AI even more responsive in critical moments of the game.Runes of Ardun is so underrated, honestly. I'm super proud of it. The AI is now beating the world's top shogi engines, but nobody cares, since nobody cares about shogi and much less Mini Shogi, which is the variant that Runes of Ardun implements.