In reply to your title, I don't think it was the 'solution' or intention of the school for the teacher to show up to school with a gun? Similarly to a kid showing up with a rifle and shooting off other students, I don't think that was the intention of video games

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic