Sure! Here's a simplified version of the game you described, implemented as a single HTML file:
To use this code, save it as a ".html" file and open it in a web browser, or copy and paste the code into an HTML editor.
Note: For this code to work properly, you'll need to have the following image files in the same directory as the HTML file: "emozi_bear.png", "emozi_chicken.png", and "emozi_all/bear.png". You can replace these images with your desired pictograms.
I hope you enjoy playing the game!