This is something I made because I wanted to be able to fire something from a robot. On the inside of the end cap there are two insulated wire holders that are used to hold a small peice of nichrome wire.
To load it you first unscrew the end cap and put a small peice of nichrome wire in the wire holders. Then you fill the end cap halfway with black powder and put what you want to launch in the barrel. When you apply sufficient power (depending on the size of the nichrome wire) the nichrome wire will heat up and fire it.
Ok, I like to fire things from robots too, but why not use model rocket engine igniters instead? Those igniters are inexpensive and readily available at most hobby stores.
You could use a glow plug like the ones on a nitro car, just screw it in and you can fire it a good number of times without having to replace the wire every time.
But nice project anyway ! add 2 servos and you can target enemy robots ;)