i don't think this is even a coding issue, these games are most likely competently made from a technical standpoint, games like Highguard don't appeal to people because they're spiritually bankrupt
The spirit of a game
is the code. The reason these AAA flops feel so soulless is because they are all made using the same generic engines, same generic textures, same crappy frameworks full of cruft, etc. It's all the same soulless garbage, stiched together in a slightly different way. It
technically runs, but that's not the sole purpose of code.
Code is an artful expression. Like clay for a sculptor, or paint for a painter. It transcends logic. It carries the
energy of the the artist as a unique, spontaneous expression of the imagination. My shitty little spaghetti algorithm might be technically imperfect, but it's mine. And all that running under the hood adds a lot to the living experience of playing a game. Like reading a book, you are immersing yourself into the
dream of the creator.
The reason why games like Factorio and Stardew Valley made assloads of money is because they were coded from
scratch by people who were passionate about it. That's the only way to make a game.
EDIT: go boot up vanilla Everquest. Even now, some 30 fuckodd years later, you can still distinctly
feel the soul of the game. Walk through the dark woods of Nektulos Forest, or the Butcherblock mountains... all that ambience and experience is from the living dream of the programmers and artists that worked on the game. It still to this day blows the hell out of the modern corporate slop coming out of these studios. I even prefer the graphics.