Are you asking which edition is the best one? You'll probably get some heated responses (and I'm gonna get some too for my recommendation) but I think 5e is the best one to adapt to a videogame. The system is pretty "dumbed down" for lack of a better term than what I've seen of other systems.
Disclaimer, I'm a brand new DM and only have in-game experience with 5e, but I've tried looking through some older editions, and maybe Baldurs Gate is to blame but none of them really made much sense to me.