I did constant homemade gunpowder experiments, none of which resulted in a useable product. Hint: mix by weight, not volume, and use real lump charcoal, not the Kingsford bricketts.
I did, too. Potassium nitrate, charcoal, sulfur and sugar. Worked well. We destroyed a lot of army men, and ship models.