Forum for Science, Industry and Business

Sponsored by:     3M 
Search our Site:

 

UC San Diego Computer Scientists Develop First-person Player Video Game that Teaches How to Program in Java

09.04.2013
The researchers tested the game on a group of 40 girls, ages 10 to 12, who had never been exposed to programming before. They detailed their findings in a paper they presented at the SIGCSE conference in March in Denver. Computer scientists found that within just one hour of play, the girls had mastered some of Java’s basic components and were able to use the language to create new ways of playing with the game.
“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.

Media Contacts

Ioana Patringenaru
Jacobs School of Engineering
Phone: 858-822-0899
ipatrin@ucsd.edu

Ioana Patringenaru | EurekAlert!
Further information:
http://www.jacobsschool.ucsd.edu/news/news_releases/release.sfe?id=1347

More articles from Information Technology:

nachricht Controlling robots with brainwaves and hand gestures
20.06.2018 | Massachusetts Institute of Technology, CSAIL

nachricht Innovative autonomous system for identifying schools of fish
20.06.2018 | IMDEA Networks Institute

All articles from Information Technology >>>

The most recent press releases about innovation >>>

Die letzten 5 Focus-News des innovations-reports im Überblick:

Im Focus: Temperature-controlled fiber-optic light source with liquid core

In a recent publication in the renowned journal Optica, scientists of Leibniz-Institute of Photonic Technology (Leibniz IPHT) in Jena showed that they can accurately control the optical properties of liquid-core fiber lasers and therefore their spectral band width by temperature and pressure tuning.

Already last year, the researchers provided experimental proof of a new dynamic of hybrid solitons– temporally and spectrally stationary light waves resulting...

Im Focus: Overdosing on Calcium

Nano crystals impact stem cell fate during bone formation

Scientists from the University of Freiburg and the University of Basel identified a master regulator for bone regeneration. Prasad Shastri, Professor of...

Im Focus: AchemAsia 2019 will take place in Shanghai

Moving into its fourth decade, AchemAsia is setting out for new horizons: The International Expo and Innovation Forum for Sustainable Chemical Production will take place from 21-23 May 2019 in Shanghai, China. With an updated event profile, the eleventh edition focusses on topics that are especially relevant for the Chinese process industry, putting a strong emphasis on sustainability and innovation.

Founded in 1989 as a spin-off of ACHEMA to cater to the needs of China’s then developing industry, AchemAsia has since grown into a platform where the latest...

Im Focus: First real-time test of Li-Fi utilization for the industrial Internet of Things

The BMBF-funded OWICELLS project was successfully completed with a final presentation at the BMW plant in Munich. The presentation demonstrated a Li-Fi communication with a mobile robot, while the robot carried out usual production processes (welding, moving and testing parts) in a 5x5m² production cell. The robust, optical wireless transmission is based on spatial diversity; in other words, data is sent and received simultaneously by several LEDs and several photodiodes. The system can transmit data at more than 100 Mbit/s and five milliseconds latency.

Modern production technologies in the automobile industry must become more flexible in order to fulfil individual customer requirements.

Im Focus: Sharp images with flexible fibers

An international team of scientists has discovered a new way to transfer image information through multimodal fibers with almost no distortion - even if the fiber is bent. The results of the study, to which scientist from the Leibniz-Institute of Photonic Technology Jena (Leibniz IPHT) contributed, were published on 6thJune in the highly-cited journal Physical Review Letters.

Endoscopes allow doctors to see into a patient’s body like through a keyhole. Typically, the images are transmitted via a bundle of several hundreds of optical...

All Focus news of the innovation-report >>>

Anzeige

Anzeige

VideoLinks
Industry & Economy
Event News

Munich conference on asteroid detection, tracking and defense

13.06.2018 | Event News

2nd International Baltic Earth Conference in Denmark: “The Baltic Sea region in Transition”

08.06.2018 | Event News

ISEKI_Food 2018: Conference with Holistic View of Food Production

05.06.2018 | Event News

 
Latest News

New cellular pathway helps explain how inflammation leads to artery disease

22.06.2018 | Life Sciences

When fluid flows almost as fast as light -- with quantum rotation

22.06.2018 | Physics and Astronomy

Exposure to fracking chemicals and wastewater spurs fat cell development

22.06.2018 | Life Sciences

VideoLinks
Science & Research
Overview of more VideoLinks >>>