Found in 1 comment on Hacker News
codesushi42 · 2019-09-25 · Original thread
Excellent post, thanks for sharing. You may want to read up on influence maps if you want to improve the AI.

Also you should check out a book called Programming an RTS Game with Direct3D if you can find a copy: https://www.amazon.com/dp/1584504986/ref=cm_sw_r_cp_apa_i_BQ...