sentence: the game is directly based on mark twain 's renowned novel , the adventures of tom sawyer , and was developed in the role-playing video game niche that made square famous with its acclaimed final fantasy series of video games .