Sure! Here's a simple sensory game for nine-month-old babies implemented as a single HTML file with JavaScript, enclosed in script tags:
This game will display a random pictogram (emoji) every two seconds in the center of the screen. The babies can enjoy the visual stimulation by observing and reacting to the changing images.