If you click on a link and make a purchase we may receive a small commission. Learn more.

First-Person Game Teaches Java As Magic!

CodeSpells is a first-person game created to teach Java programming. Yeah - that just happened. A project by computer scientists at the University Of California, the game is designed to teach school students the programming language, as a solution for the difficulties of providing computer science education to younger teenagers.

As reported by PhysOrg, the researchers tested out the game with a group of 40 girls, aged 10 to 12, with no previous exposure to programming. They had the mechanics explained to them, and were then simply encouraged to explore the game's world. They say that after just an hour, they had got to grips with some of the basic components of Java. Which is more than I've managed in every attempt to learn any programming language, from BASIC to PERL.

In the game, commands are portrayed as magic spells. You play as a wizard, in a land of gnomes, aiding them to recover their magic. By writing spells in Java, you can fly, levitate objects, and most importantly, set things on fire.

What seems significant here is that the concept hasn't been simplified to the point where you never actually see code. But rather, the immediately scary-looking page of text and brackets directly correlates to events in an explorable 3D world. Clearly the presentation is pretty clumsy, despite being made in Unity - it would have been nice to see the team perhaps looking for the help of some local San Diego developers to spruce things up a bit.

Right now only the Mac version of the game's beta is available, but the PC version should be arriving very soon. The final version will also be released for free, to make an accessible learning tool in schools without specialists to teach it themselves. Which is pretty much all schools.

Which is really just such a splendid idea, and a fantastic way to see young people realising that coding isn't beyond them. If 10 year olds can be shown how accessible programming is to them, they'll have an enormous headstart.

Tagged With

About the Author

John Walker avatar

John Walker

Disposable

Once one of the original co-founders of Rock Paper Shotgun, they killed me out of jealousy. I now run buried-treasure.org

Support Rock Paper Shotgun

Subscribe and get access to supporter-only articles, an ad-free reading experience, free gifts, and game discounts. Your support helps us create more great writing about PC games.

See more information

More News

Latest Articles

Rock Paper Shotgun logo

We've been talking, and we think that you should wear clothes

Total coincidence, but we sell some clothes

Rock Paper Shotgun Merch