Star Wars: Building a Galaxy With Code

Learn to program droids, and create your own Star Wars game in a galaxy far, far away.

Princess Leia and R2-D2 stand together on the left, facing Rey and BB-8 on the right.

Choose your activity

Star Wars: Building a Galaxy With Code (Blockly)

Use block coding to learn to program droids, and create your own Star Wars game in a galaxy far, far away.

Star Wars: Building a Galaxy With Code (JavaScript)

Use JavaScript to learn to program droids, and create your own Star Wars game in a galaxy far, far away.

Don't have internet?

Explore all Hour of Code activities from Code.org

All tutorials are available in many languages and compatible with modern browsers and tablets.

Watch inspirational videos

What will computer science change in our world? Everything! Who is it for? Everyone! Check out these inspiring videos!

Additional resources

Curriculum Catalog

Comprehensive curriculum offerings for every grade and experience level featuring robust structured and self-paced learning options.

Professional Learning

Flexible, high-quality training that helps build confidence and equips teachers to effectively teach computer science with our curriculum.

Video Library

Explore our large library of engaging and informative videos to learn about key computer science concepts on a broad range of topics.