Inspired by Dungeons & Dragons, adventure and role-playing computer games introduce unprecedented levels of choice and complexity to players.