Learn Java By Casting Spells, Saving Gnomes in a First-Person Video Game

Recommended Videos

What skills does your favorite video game give you? When you’re done burning through the 12+ hours of BioShock Infinite,Ā what’ll you have to show for it? Probably a few enhanced motor skills and the aesthetic appreciation that comes with being immersed in a compelling story. That’s certainly not nothing. For developing employable, useful skills, though, one game’s got all the rest beat. Computer scientists at theĀ University of California San Diego (UCSD) have created a video game that teaches students how to program in Java by casting spells and saving the world. A world of creepy, creepy little gnomes.

The game, called CodeSpells, is a first-person, problem-solving adventure game, where the player takes the role of a wizard exploring a fantasy worldĀ inhabitedĀ by…well, they’re calling them gnomes, but I’m not so sure. They also look a lot like aliens, or strange little ghosts. In order to help the “gnomes” get their magic back, you’ll have complete a series of quests in which you solve puzzles by make things levitate or burst into flame. To cast those spells, though, you’ll first need to write them — in Java.

CodeSpells is aimed at elementary and high school students, which means kids these days will get all the good programming jobs before you do. Unless you get your hands on this game, too.Ā Sarah Esper, one of the lead graduate students involved in the game, tested it on a group of 40 girls of ages 10 to 12 who had no prior exposure to programming. Within an hour of playing, the girls had mastered fundamentals of Java and thereby surpassed my knowledge of computer programming. They were also reportedly disappointed when the test was over, because it meant they had to stop playing.

Here’s the CodeSpells demo from last year to give you a sense of what it looks and feels like. It’s noĀ World of Warcraft graphically, but as far as educational games go, it puts classics like Math Blasters and Reader Rabbit to shame.

Researchers point out that teaching computer science courses prior to college can be difficult, because qualified instructors are hard to come by. Sneak that training directly into a video game, though, and kids — and let’s face it, adults — will be engaged enough to start picking up the basics on their own. That’s the aim, anyway.

The study was presented at the SIGSE conference in March.Ā William Griswold, a computer scientist at the Jacobs School of Engineering at UCSD and one of the developers of the game, said thatĀ CodeSpells is the only video game out there that integrates computer programming into gameplay, and that the ultimate goal remains to make the game available, for free, to any educational institution interested in it.

“We’re hoping that they will get as addicted to learning programming as they get addicted to video games,” saidĀ Stephen Foster, another lead student in the study.

I certainly like the idea of video games that you technological skills. But is anyone as freaked out by the “gnomes” in this game as I am?

Dude. That’s a zipper.

They look like something you would find skittering about in Coraline or any Tim Burton movie, just waiting to steal your children.Ā Or worse, the Silent Hill franchise.

(PhysOrg, images courtesy of YouTube and Jacobs School of Engineering/UC San Diego)

Relevant to your interests


The Mary Sue is supported by our audience. When you purchase through links on our site, we may earn a small affiliate commission.Ā Learn more
related content
Read Article Can ‘Star Wars Outlaws’ Prove Its Singularity Ahead Of Its Release?
Promotional art for 'Star Wars Outlaws'
Read Article Behold the Voice Cast That Will Bring ‘Hades 2’ to Life
Melinoe from Hades 2
Read Article We Just Got Our First Look At ‘Hades II’ Gameplay and by Olympus, It’s Stunning
Melinoƫ from Hades II and Zagreus from Hades
Read Article ‘Hades II’s Protagonist Has a Hell of a Backstory
Melinoe fighting Hecate from Hades 2 trailer
Read Article The Biggest ‘Invincible’ Project Yet Is Gathering Strength as We Speak
Allen, Invincible, and Immortal in 'Invincible'
Related Content
Read Article Can ‘Star Wars Outlaws’ Prove Its Singularity Ahead Of Its Release?
Promotional art for 'Star Wars Outlaws'
Read Article Behold the Voice Cast That Will Bring ‘Hades 2’ to Life
Melinoe from Hades 2
Read Article We Just Got Our First Look At ‘Hades II’ Gameplay and by Olympus, It’s Stunning
Melinoƫ from Hades II and Zagreus from Hades
Read Article ‘Hades II’s Protagonist Has a Hell of a Backstory
Melinoe fighting Hecate from Hades 2 trailer
Read Article The Biggest ‘Invincible’ Project Yet Is Gathering Strength as We Speak
Allen, Invincible, and Immortal in 'Invincible'
Author