“CodeSpells is the only video game that completely immerses programming into the game play,” said William Griswold, a computer scientist at the Jacobs School of Engineering at UC San Diego.
The UC San Diego computer scientists plan to release the game for free and make it available to any educational institution that requests it. Researchers are currently conducting further case studies in San Diego elementary schools.
Teaching computer science below the college level is difficult, mainly because it is hard to find qualified instructors for students in elementary to high school, Griswold said. So he and his graduate students set out to find a way to reach these students outside the classroom. They designed the game to keep children engaged while they are coping with the difficulties of programming, which could otherwise be frustrating and discouraging.
Teaching children how to program must be a priority in a society where technology is becoming more and more important, said Sarah Esper, one of the lead graduate students on the development of CodeSpells. Programming also teaches logical thinking, said Stephen Foster, another lead student.
“We’re hoping that they will get as addicted to learning programming as they get addicted to video games,” Foster said.
How CodeSpells works
CodeSpells’ story line is simple: the player is a wizard arriving in a land populated by gnomes. The gnomes used to have magic, but lost it at some point. The wizard must help them. She (or he) writes spells in Java. Players have seven spells available to them, including levitating objects within the game, flying and making fire.
Players can also earn badges by undertaking simple quests, which help them master the game’s spells. One quest entails crossing a river. Another entails rescuing a gnome from the roof of his cottage, where he got stuck. Yet another entails starting a large bonfire. By the time players complete the game’s first level, they have learned the main components of the Java programming language, such as parameters, for if statements, for loops and while loops, among other skills.
Testing the game
Researchers tested the game on a group of 40 girls ages 10 to 12 in San Diego. They gave the students a brief overview of the game’s mechanics, including how to write and edit code within the game’s user interface. The girls were divided in groups of two or three. Researchers encouraged them to explore the game and see what they could do. “We were purposefully vague,” they wrote, “as we hoped to encourage a largely unstructured learning environment.”
The students were disappointed when they had to stop playing because the test was over. Their interest in the game didn’t wane when they made mistakes while writing code. Instead, they used the mistakes as a stepping stone to explore the game’s possibilities. For example, one group made the mistake of levitating an object so high into the air that their wizard couldn’t reach it. So the girls made their wizard jump onto another object and levitated it high enough to reach the object they were after. The girls also reported feeling empowered. When they encountered a difficulty, they tried different spells and made changes to the code until they solved it.
Computer science learning theory
CodeSpells was influenced by research that Esper and Foster conducted on how successful programmers learn their trade. They surveyed 30 computer scientists and identified five characteristics that are key to learn programming outside a classroom setting: activities must be structured by the person who is trying to learn; learning must be creative and exploratory; programming is empowering; learners have difficulty stopping once they start; and learners spend countless hours on the activity.
Researchers summarized these findings in their SIGCSE 2013 paper, humorously titled “On the Nature of Fires and How to Spark Them When You’re Not There.”
Esper will present her CodeSpells work April 18 at Research Expo at the Jacobs School of Engineering at UC San Diego.
Jacobs School of Engineering
Ioana Patringenaru | Source: EurekAlert!
More articles from Information Technology:
Kassel University research team’s results make the development of quantum computers more realistic
12.12.2013 | Universität Kassel
Hipster, surfer or biker? Computers may soon be able to tell the difference
11.12.2013 | University of California - San Diego
A unique solar panel design made with a new ceramic material points the way to potentially providing sustainable power cheaper, more efficiently, and requiring less manufacturing time.
It also reaches a four-decade-old goal of discovering a bulk photovoltaic material that can harness energy from visible and infrared light, not just ultraviolet light.
Scaling up this new design from its tablet-size prototype to a full-size solar panel would be a large step toward making solar power affordable compared with ...
Atlantische Flohkrebse pflanzen sich jetzt auch in arktischen Gewässern fort
Biologen des Alfred-Wegener-Institutes, Helmholtz-Zentrum für Polar- und Meeresforschung (AWI), haben zum ersten Mal nachgewiesen, dass sich in den arktischen Gewässern westlich Spitzbergens auch Flohkrebse aus dem wärmeren Atlantik fortpflanzen.
Diese überraschende Entdeckung deute auf einen möglichen Wandel der arktischen Zooplankton-Gemeinschaft hin, berichten die Wissenschaftler und Wissenschaftlerinnen in der Fachzeitschrift Marine Ecology ...
The molecular architecture of three key proteins and their complexes reveals how plants fine-tune their immune response to pathogens
Plants rarely get sick in their natural environment. When the threat of infection arises, a quick decision is made about the necessary countermeasures. The course is set by a protein which forms complexes with its partner proteins for this purpose.
Jane Parker from the Max Planck Institute for Plant Breeding ...
Researchers studying speciation of butterfly orchids on the Azores have been startled to discover that the answer to a long-debated question "Do the islands support one species or two species?" is actually "three species".
Hochstetter's Butterfly-orchid, newly recognized following application of a battery of scientific techniques and reveling in a complex taxonomic history worthy of Sherlock Holmes, is arguably Europe's rarest orchid species. Under threat in its mountain-top retreat, the orchid urgently requires conservation recognition.
A lavishly illustrated publication, titled "Systematic revision of Platanthera in ...
Researchers from Brown University and the University of Hawaii have found some mineralogical surprises in the Moon's largest impact crater.
Data from the Moon Mineralogy Mapper that flew aboard India's Chandrayaan-1 lunar orbiter shows a diverse mineralogy in the subsurface of the giant South Pole Aitken basin.
The differing mineral signatures could be reflective of the minerals dredged up at the time of the giant impact 4 billion years ago, ...
12.12.2013 | Life Sciences
12.12.2013 | Earth Sciences
12.12.2013 | Studies and Analyses
11.12.2013 | Event News
10.12.2013 | Event News
05.12.2013 | Event News