Whereas most schoolchildren have to sneak in a gaming fix at school on the sly, one Swedish hall of education has made playing Minecraft compulsory.

The Viktor Rydberg school in Stockholm introduced the gaming lessons to inspire creative thought. Minecraft, which was developed by the delightfully named Swedish programmer Markus "Notch" Persson and has a global user base of over 40 million players, teaches creative thought the school reasoned, and therefore has a place in lessons.

"It's their world and they enjoy it," Monica Ekman, a teacher at the school told The Local. "They learn about city planning, environmental issues, getting things done, and even how to plan for the future."

Players of Minecraft collect natural resources and use them to build structures within a 3D environment while defending them against zombies and spiders at night. Players can build whatever they like, and they do build pretty much anything.

One team of three players created an entire stop-motion film of Super Mario Land, which involved shifting 18 million blocks representing pixels on a flat plain and took over a month of play to achieve. It's that kind of game - one of those you can start playing after dinner and then realize it's 3:30am and the boss is getting antsy about punctuality.

"The boys knew a lot about it before we even started, but the girls were happy to create and build something too - it's not any different from arts or woodcraft," Ekman said.

The initiative came from a national school competition called "Future City," where students were asked to suggest things that might improve the future. Some parents weren't keen on the idea Ekman said, but it looked as though the classes will become a permanent feature of the curriculum.

"It's been a great success and we'll definitely do it again," she told The Local.

"We think it's a fun way of learning and it's nice for the students to achieve something." ®