And you can make a battery entirely out of dough (well, you'll need a few pieces of metal (e.g., paperclips) to link the battery sections):
http://courseweb.stthomas.edu/apthomas/SquishyCircuits/PDFs/...
http://courseweb.stthomas.edu/apthomas/SquishyCircuits/PDFs/...
I'm not sure how you could create a transistor with it however.
I do know that you can create a diode out of a Razor Blade heated to a high temperature via a gas flame such that carbon deposits form on its outside, and a sharpened pencil, where a wire attaches to the carbon on the pencil, then you move the pencil around to find a spot on the razor blade where it works -- this was the operating mechanism in early Crystal Radio sets.
But if only we could create a transistor easily...