Sure, below is a simple implementation of a family tree game using JavaScript embedded within a single HTML file. The game allows the user to navigate through a family tree using pictograms and displays information about each family member.
In this example, I have provided a basic structure for the family tree game. You can add more family members within the `family` array including their names, ages, and occupations. Replace the placeholder `src` attributes of the `<img>` tags with the actual paths to your pictogram images.
When a user clicks on a pictogram, the `showInfo()` function is called and it displays the corresponding family member's details in the `<div>` with the `info-container` id.
Please make sure to replace the placeholder pictograms and customize the content to fit your requirements.