Tag Archives: video games

A video game that teaches you how to code

“I think everybody in this country should learn how to program a computer because it teaches you how to think,” Steve Jobs said in a lost interview from 1995.

But for a beginner, learning to code from scratch can be intimidating.

Enter CodeSpells. UC San Diego computer scientists developed this video game to teach people how to code. The story line is simple: you’re a wizard that uses spells (i.e. code) to navigate through the world, fight off foes, and solve problems.

While experienced coders can delve deep into the programming to create some truly devastating spells, newbies can easily experiment with the simple drag-and-drop coding interface.

CodeSpells was influenced by research 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.

For more videos, subscribe to Fig. 1 on YouTube