The Simpsons: Bart and the Beanstalk is a game for the Nintendo Game Boy released in 1994. It merged The Simpsons with the fairy tale of Jack & the Beanstalk.
Bart Simpson sells his family's cow to Monty the Miser for some beans and is sent to his room. He sees the beanstalk and climbs to the top to get gold. He then chases away from the giant (which looks like Homer) and cuts the beanstalk down. With the gold, the Simpsons were able to buy a new cow and plenty of donuts.