I believe the school is using some form of IP blocking, and because YikYak is a relatively simple and small app, the school did not have to worry about other web services related to YikYak. So I believe all they did was add YikYak's IP address to the list of blocked websites.