Video Game Teaches Elementary Students How To Code

Video Game Teaches Elementary Students How To Code

Ten to twelve year olds can learn programming by playing CodeSpells.

Leah Gonzalez
  • 24 april 2013

A team of computer scientists at the Jacobs School of Engineering of the University of California have created a video game that helps kids learn JAVA. CodeSpells is a first-person player video game that was developed to teach elementary and high school students how to use the widely-used programming language.

According to William Griswold who led the team of graduate students developing the video game, it’s especially difficult to teach programming to younger students because of a lack of qualified teachers for the age group and because of the nature of programming itself. The video game was designed to keep the students interested and engaged while they learn the main components of JAVA.


The team tested the video game on forty 10-12 year old girls who have never faced programming before. The team found out that after just one hour of playing, the girls were able to learn the basics of JAVA programming and were able to use it to play the game. The team has already presented its findings at the SIGCSE 2013,  a forum for educators to discuss computer science education.

Currently, CodeSpells is the only video game that uses programming in game play. In the game, the player is a wizard who arrives in a place inhabited by gnomes that used to have magic. The gnomes have lost their magic and it is up to the wizard or the player to help them  by doing the spells for them. The spells are written in JAVA. Spells include flying, building fire, and levitating objects in the game. In the game, players also earn badges and complete quests such as rescuing a gnome or crossing a river. The quests require the players to use the JAVA spells.


The initial test group were able to learn the JAVA spells quickly and were also able to write and rewrite the JAVA codes in order to complete the quests in the game. They were also able to enjoy the game and were disappointed when they had to stop playing. For the research team, the video game is an effective way to teach students outside of the classroom environment.

Jacobs School of Engineering, University of California


Lyft Gives Free Rides To Those Who Have Had Too Much To Drink

Syndicated Yesterday

Banned Books Week Urges People To Seek Out Controversial Works

Joining the annual celebration of the right to read, US author Jessica Herthel called for 'more information, more voices' to protect diversity

Augmented & Virtual Reality Yesterday

Outdoor Camp Presented In 360° VR By X Games Gold Medalist

The video features campers riding BMX trails, zip lining through the woods, and performing big-air jumps


Get PSFK's Related Report: Future of Automotive

See All
Travel Yesterday

Boeing Wants Passengers To Control Their In-Flight Experience Through Their Phones

The airline manufacturer is embracing automation through a new generation of mobile travel apps

Augmented / Virtual Reality Yesterday

VR Surgery Videos Offer Interactive Medical Education

Dutch startup MDLinking hopes to globalize communication between students and medical care professionals with virtual reality content

Related Expert

Tucker Fort

Strategic Design

Culture Yesterday

Use Twitter To Learn A New Language

tDict is an app that uses the social media platform to help you search for words in local dialects

Mobile Yesterday

This Startup Wants To Digitize The Loose Coins In Your Pocket

CoinOut is a new app that lets you save your extra change from cash transactions as electronic funds

Advertising Yesterday

McDonald’s Is Accepting Trash As Currency In Exchange For Burgers

An initiative in Stockholm is trying to keep streets clean while satisfying hunger


Future Of Automotive
Scenarios Driving The Digital Transformation Of An Industry

PSFK Op-Ed september 21, 2016

Creative Agency Founder: Using VR As A Race Relationship Tool

Maurice Bernstein, CEO and Founder of Giant Step, explores the value in transforming headsets from high-tech entertainment tools into empathy machines

PSFK Labs september 22, 2016

The Future Of Work: Why Innovation Is Every Employee’s Job

PSFK Labs sits down with management at Johnson & Johnson to learn how the company comes up with their next ‘big idea’

Culture Yesterday

Google Is Using Virtual Paper Airplanes To Bring People Closer Together

The tech giant released an app that lets people throw their good wishes out into the world on the International Day of Peace

Advertising Yesterday

Get Paid For Traveling In San Francisco After Rush Hour

BART Perks rewards commuters who take early or late trains by giving them extra points to trade for money

Culture Yesterday

Artist Designs Covers For Books That Don’t Exist

Published by the fictional 'Specious Books,' the subversive works facilitate a conversation regarding the artistic integrity of graphic designers

Work Yesterday

Editorial Roundtable: The Arrival Of The People-First Workplace

Managed By Q, Soma, Workbar, Primary, AltSchool and thinkPARALLAX enumerate the reasons why companies need an employee-embracing workforce in order to exist

Food Yesterday

Bringing Food Innovation To America’s Crowded Milk Market

a2 Milk's Blake Waltrip, Chief Executive of the USA region, discusses how the distributor plans on bringing the popular drink for the dairy-sensitive to the States


Future Of Work
Cultivating The Next Generation Of Leaders

Financial Services Yesterday

Device Makes Digital Currency Feel Tangible

The concept gadget wants you to experience the highs and lows of spending money

Design & Architecture Yesterday

Why Building Better Offices Is The Key To Employee Engagement

Interaction Designer and Audio-visual Technologist at ESI Design illustrates the value in creating environments filled with surprise and delight

Augmented / Virtual Reality Yesterday

NBC Is Planning To Stream The Presidential Debates In Virtual Reality

Partnering with AltspaceVR, the broadcaster offers another way for Americans to engage with the election season

No search results found.