Learn to create a Star Wars game with an Hour of Code
Is there a kid in your life who would like to build their own Star Wars computer game? Now they can — in just one hour.
“People’s preconceptions around code is that it’s this boring, geeky thing that has nothing to do with anything you care about,” Code.org founder Hadi Partovi told re/code. “We want to make it more fun, cool and hip.”
The tutorial focuses on Princess Leia and Rey, the heroine of the new movie, in part to draw more girls to computer programming and the sciences.
“For generations, Star Wars has sparked kids’ curiosity and imagination, and we hope the appeal of characters like Princess Leia and Rey will help fuel greater participation in science and math, especially among girls, around the world,” Kathleen Kennedy, president of Lucasfilm, said in a release. “Computer science has helped shape our legacy and changed the way movies are made, which is why programs like the Hour of Code are so important to us.”
The Hour of Code tutorial is geared toward kids, but anyone who knows Java Script can create a Star Wars game within the tutorial, Wired reported.