I don't know if this is what you are thinking of, but there's a whole genre called gamelit: either stories about people playing games (computer or RPG) or people in worlds that have game-like mechanics.

Try the site https://www.royalroad.com/ - it is a free-to-read webnovel site that hosts a lot of game-related stories. As usual for the internet, there is some junk, but one or more of the top-rated stories should catch your interest. No commitment, and a lot of their stories end up on Amazon books eventually anyway.

I really like He Who FIghts With Monsters - a guy gets summoned to a magic-based world and has to survive.

There are also plenty of stories that don't include game mechanics. Adventures of the Goldthirst Company is set in what is essentially a D&D world, but no game mechanics are used in the story.

[edit] Just read the latest chapter of He Who FIghts With Monsters and got reminded - chapters 1-113 are going away in a couple of days because of the terms of service for Amazon Kindle Unlimited. How fast can you read?

Last edited by RBarbare; 12/02/21 11:04 PM.