PRESS-NEWS.org - Press Release Distribution
PRESS RELEASES DISTRIBUTION

Computer scientists develop video game that teaches how to program in Java

Children learn some of the basic of Java after just one hour of play with the first-person player, immersive game

2013-04-09
(Press-News.org) Computer scientists at the University of California, San Diego, have developed an immersive, first-person player video game designed to teach students in elementary to high school how to program in Java, one of the most common programming languages in use today.

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.



INFORMATION:



ELSE PRESS RELEASES FROM THIS DATE:

Reframing stress: Stage fright can be your friend

2013-04-09
Fear of public speaking tops death and spiders as the nation's number one phobia. But new research shows that learning to rethink the way we view our shaky hands, pounding heart, and sweaty palms can help people perform better both mentally and physically. Before a stressful speaking task, simply encouraging people to reframe the meaning of these signs of stress as natural and helpful was a surprisingly effective way of handling stage fright, found the study to be published online April 8 in Clinical Psychological Science. "The problem is that we think all stress is ...

Diabetes patients need to be consulted to improve treatment

2013-04-09
Patients with type 2 diabetes who tailor their own treatment in cooperation with their doctor can reduce their risk of complications such as heart attack with up to 20 percent. This is the result of a new Danish study from the Research Unit for General Practice, University of Copenhagen. Patients who cooperate with their general practitioner and set personal goals for treatment while receiving continuous feedback from their doctor can reduce their risk of complications with up to 20 percent. This is one of the research results of a Danish study just published, "Diabetes ...

Roadmap to 25 percent reduction in premature deaths From RHD in the under 25s by 2025 published

2013-04-09
The World Heart Federation has published a new position statement outlining the five key strategic targets required to meet its strategic goal for rheumatic heart disease (RHD) – a 25% reduction in premature deaths from rheumatic fever (RF) and RHD among individuals aged END ...

Using social networks for mobilization has its limits

2013-04-09
This press release is available in Spanish. The study analyzes the potential of social networks such as Twitter and Facebook to coordinate people. In recent years there have been a number of examples of how social networks have served to mobilize volunteers during natural disasters, political campaigns, health emergencies, etc. But can we really depend on the use of social networks to carry out these tasks? And if it is possible, what is the risk that this strategy will fail? Using recent results of the spacio-temporal structure of social networks and experimental ...

Byrd came oh-so-close, but probably didn't reach North Pole

2013-04-09
COLUMBUS, Ohio—When renowned explorer Richard E. Byrd returned from the first-ever flight to the North Pole in 1926, he sparked a controversy that remains today: Did he actually reach the pole? Studying supercomputer simulations of atmospheric conditions on the day of the flight and double-checking Byrd's navigation techniques, a researcher at The Ohio State University has determined that Byrd indeed neared the Pole, but likely only flew within 80 miles of it before turning back to the Norwegian island of Spitsbergen. Gerald Newsom, professor emeritus of astronomy at ...

Researchers find avian virus may be harmful to cancer cells

2013-04-09
A study at the Virginia-Maryland Regional College of Veterinary Medicine has identified a chicken-killing virus as a promising treatment for prostate cancer in humans. Researchers have discovered that a genetically engineered Newcastle disease virus, which harms chickens but not humans, kills prostate cancer cells of all kinds, including hormone-resistant cancer cells. The work of Dr. Elankumaran Subbiah, an associate professor of virology in the Department of Biomedical Sciences and Pathobiology at Virginia Tech, along with Dr. Siba Samal, associate dean and chairman ...

Global solar photovoltaic industry is likely now a net energy producer

2013-04-09
The rapid growth of the solar power industry over the past decade may have exacerbated the global warming situation it was meant to soothe, simply because most of the energy used to manufacture the millions of solar panels came from burning fossil fuels. That irony, according to Stanford University researchers, is coming to an end. For the first time since the boom started, the electricity generated by all of the world's installed solar photovoltaic (PV) panels last year probably surpassed the amount of energy going into fabricating more modules, according to Michael ...

'Pharmaceutical' approach boosts oil production from algae

2013-04-09
VIDEO: UC Davis chemist Annaliese Franz is applying her expertise in pharmaceutical chemistry to find ways to boost fuel production by microscopic green algae. Click here for more information. Taking an approach similar to that used for discovering new therapeutic drugs, chemists at the University of California, Davis, have found several compounds that can boost oil production by green microscopic algae, a potential source of biodiesel and other "green" fuels. The work ...

New study finds plant proteins control chronic disease in Toxoplasma infections

2013-04-09
Tampa, FL (April 8, 2013) -- A new discovery about the malaria-related parasite Toxoplasma gondii -- which can threaten babies, AIDS patients, the elderly and others with weakened immune function -- may help solve the mystery of how this single-celled parasite establishes life-long infections in people. The study, led by a University of South Florida research team, places the blame squarely on a family of proteins, known as AP2 factors, which evolved from the regulators of flowering in plants. In findings published today in the Proceedings of the National Academy ...

Carbon's role in planetary atmosphere formation

2013-04-09
PROVIDENCE, R.I. [Brown University] — A new study of how carbon is trapped and released by iron-rich volcanic magma offers clues about the early atmospheric evolution on Mars and other terrestrial bodies. The composition of a planet's atmosphere has roots deep beneath its surface. When mantle material melts to form magma, it traps subsurface carbon. As magma moves upward toward the surface and pressure decreases, that carbon is released as a gas. On Earth, carbon is trapped in magma as carbonate and degassed as carbon dioxide, a greenhouse gas that helps Earth's atmosphere ...

LAST 30 PRESS RELEASES:

Post-LLM era: New horizons for AI with knowledge, collaboration, and co-evolution

“Sloshing” from celestial collisions solves mystery of how galactic clusters stay hot

Children poisoned by the synthetic opioid, fentanyl, has risen in the U.S. – eight years of national data shows

USC researchers observe mice may have a form of first aid

VUMC to develop AI technology for therapeutic antibody discovery

Unlocking the hidden proteome: The role of coding circular RNA in cancer

Advancing lung cancer treatment: Understanding the differences between LUAD and LUSC

Study reveals widening heart disease disparities in the US

The role of ubiquitination in cancer stem cell regulation

New insights into LSD1: a key regulator in disease pathogenesis

Vanderbilt lung transplant establishes new record

Revolutionizing cancer treatment: targeting EZH2 for a new era of precision medicine

Metasurface technology offers a compact way to generate multiphoton entanglement

Effort seeks to increase cancer-gene testing in primary care

Acoustofluidics-based method facilitates intracellular nanoparticle delivery

Sulfur bacteria team up to break down organic substances in the seabed

Stretching spider silk makes it stronger

Earth's orbital rhythms link timing of giant eruptions and climate change

Ammonia build-up kills liver cells but can be prevented using existing drug

New technical guidelines pave the way for widespread adoption of methane-reducing feed additives in dairy and livestock

Eradivir announces Phase 2 human challenge study of EV25 in healthy adults infected with influenza

New study finds that tooth size in Otaria byronia reflects historical shifts in population abundance

nTIDE March 2025 Jobs Report: Employment rate for people with disabilities holds steady at new plateau, despite February dip

Breakthrough cardiac regeneration research offers hope for the treatment of ischemic heart failure

Fluoride in drinking water is associated with impaired childhood cognition

New composite structure boosts polypropylene’s low-temperature toughness

While most Americans strongly support civics education in schools, partisan divide on DEI policies and free speech on college campuses remains

Revolutionizing surface science: Visualization of local dielectric properties of surfaces

LearningEMS: A new framework for electric vehicle energy management

Nearly half of popular tropical plant group related to birds-of-paradise and bananas are threatened with extinction

[Press-News.org] Computer scientists develop video game that teaches how to program in Java
Children learn some of the basic of Java after just one hour of play with the first-person player, immersive game