For a fun treatment of the topic at hand (gun versus sword), check out an Akira Kurosawa movie called "Yojimbo," starring Toshiro Mifune.
It was later re-made by Walter Hill a la 1920's USA in "Last Man Standing" with Bruce Willis.
For to win one hundred victories in one hundred battles is not the acme of skill. To subdue the enemy without fighting is the supreme excellence. Sun Tzu