I still clearly remember the day I was showing one of the other interns an application I wrote in visual basic. I was quite proud of it since I was fairly new to programming at the time, and I had been working on mastering GDI. If you know what GDI is, you can probably guess where this is going. It was what game devs call a "map editor", where you could take a palette of images and place them around in a grid to author scenes. This was during our lunch break.
One of the supervisors walked over, saw something "game-like" on the screen, and angrily unplugged the PC at the back. (Good thing I didn't have any important files open.) Once I explained what it was he wasn't angry anymore, but he didn't apologize.
So I guess "no fun allowed, even if you're learning" is a pretty old mantra everywhere.
So we made a Javascript one-liner that would retrieve and fill in the answers.
The first edition also submitted them but the teacher could see how fast you completed a test so we removed that as students who normally could not pass the test suddenly had 100% and in 5 seconds of time.
In the end, manually removing, answering some answers wrong and waiting to submit made that class a breeze.
Too bad my French is now very bad but that wasn't something youth-me thought of at the time.
Lazy pencil pushers kill kids' curiosity before it begins, footgunning their entire purpose for being.
We were also the kids who were the most into computers at the time, and eventually the teacher realised that if they were on our side, they could use us to help teach the other kids basic computer skills (office, etc), by using games as the incentive.
If you can't beat them, have them join you...
Edit: We have reached max depth it seems, so I will just update stating that I suppose the change in the scene is quite drastic. Back when I was in school, maybe 5% of the class were computer literate. I felt like a god in that place, being able to help the "smart" students do basic things like creating an email address.
The fact that the teacher doesn't see this as an opportunity is what surprises me. If the work is so boring that kids would rather play games, then use gamification to exploit this behaviour.
In a little Aussie country town, getting computers linked together was a huge boon to our gaming horizons.
Under these premises, teachers in standardized environments are already in an impossible situation.