Back in the 90s I learned a lot from the Prodigy QBasic community. There were some really cool games that people contributed, they have to be out there on the web somewhere.
For that old stuff, "Pete's QB Site" still holds a lot of it:
Also, check out the old ABC Packets - they're still available, and also have a ton of code worth looking into (I was a frequent contributor):