Most schools deliberately block gaming sites on their networks, and that is usually something you cannot get around from a student account.
The reason is straightforward: school internet is meant for learning, and network administrators set up firewalls and content filters to keep bandwidth free and students focused. Trying to bypass those controls generally violates the school's acceptable-use policy and can get your account restricted.
If you want to play during free time, the better approach is to use your own device on a personal connection outside of class, or ask a teacher or IT staff member which sites are permitted.