I've often been asked how to make a coil gun. So I've come up with a fairly simple way to do it that makes use of an electric fly swatter for the power supply.
I've tried to make it fairly safe in that it won't fire the projectiles with too much power as long as you charge the capacitors to only around 100 volts. But it still does involve high voltage and high power so it should be done only by those who have experience with electronics or with the help of someone who does. Do this at your own risk.
The following are the circuit diagram and schematic for the coil gun.
These are the parts I used.
The following video demonstrates and shows how to make a coil gun using the electronics from an electric fly swatter as the power supply.