• Home
  • Latest
  • Fortune 500
  • Finance
  • Tech
  • Leadership
  • Lifestyle
  • Rankings
  • Multimedia

Trendingnow

1

Ex-PepsiCo CEO Indra Nooyi worked from midnight until 5 a.m. as a receptionist to pay for her Yale degree—and she says ‘respect went up’ because of it

2

Shark Tank's Kevin O'Leary says if he were 25 today, he'd chase these two booming opportunities in the world of AI

3

China’s birth rate just hit its lowest point since 1949—and Trip.com cofounder James Liang thinks that’s a threat to innovation

1

Ex-PepsiCo CEO Indra Nooyi worked from midnight until 5 a.m. as a receptionist to pay for her Yale degree—and she says ‘respect went up’ because of it

2

Shark Tank's Kevin O'Leary says if he were 25 today, he'd chase these two booming opportunities in the world of AI

3

China’s birth rate just hit its lowest point since 1949—and Trip.com cofounder James Liang thinks that’s a threat to innovation
TechApple

We Played Apple’s New Game That Teaches Kids How To Code

By
Lisa Eadicicco
Lisa Eadicicco
Down Arrow Button Icon
By
Lisa Eadicicco
Lisa Eadicicco
Down Arrow Button Icon
July 15, 2016, 7:30 PM ET
Apple
Apple CEO Tim Cook speaks about Swift Playgrounds young developers app at the Apple Worldwide Developers Conference in the Bill Graham Civic Auditorium in San Francisco, Monday, June 13, 2016. (AP Photo/Tony Avelar)Tony Avelar — AP
Add Fortune on Google for similar content.

One recent evening, I spent my 40-minute commute guiding a friendly cyclops around a maze in search of gems. After moving the creature with a series of taps, he managed to navigate his way across the puzzle to advance to the next stage.

What I’m describing could be the premise of any smartphone game. But by playing this one, I’m learning the building blocks of computer programming.

Apple’s Swift Playgrounds platform, which the company unveiled last month and will be launching later this year, uses puzzles to teach newcomers the basics of writing computer code. The games and lessons are geared toward middle school students, but they are accessible to anyone with an iPad and a desire to learn how to build apps for Apple’s devices.

Get Data Sheet, Fortune’s technology newsletter.

Apple’s (AAPL) new platform is just one of a class of apps, games and toys that seek to make computer programming easier to grasp, especially for children. Apps like Lightbot and games found on Code.org communicate the core concepts of writing code through basic puzzles. Toys like the Hackaball and Google’s (GOOG) new Project Bloks seek to impart these lessons by tasking children with programming tangible objects.

But Apple employees say Swift Playgrounds stands out because players use real lines of code. “We’re not hiding code, or running away from the fact that it is code,” says Wiley Hodges, director of tools and technologies product marketing at Apple.

Indeed, to help my character, appropriately named “Byte,” find his goal, I had to issue commands in the correct order. Each command is formatted just like a line of code in Apple’s programming language, called Swift. To walk toward the left, I had to enter the command “turnLeft( ).” Retrieving the gem at the end of the level requires the command “collectGem( ).” Some similar games, like the Star Wars-themed one on Code.org, also require players to input lines of code to move their character.

This Apple App Will Teach You Coding

The lessons and challenges in Swift Playgrounds are tailored for use on Apple’s iPad. Players can tap commands from a preset list and drag them around to reorder them, rather than typing them in during lessons. If players choose to type, they will find their keyboard has been helpfully optimized for editing lines of code.

The instructions for solving each puzzle are simple enough to clearly communicate the concept. But the game still requires players to think critically and creatively. “However you solve the puzzle, you can use your own creativity,” says Tim Triemstra of Apple’s product marketing department for developer tools. “There isn’t just one way to progress through the app.” To make a new command that would enable Byte to turn right, for instance, I had to enter the “turnLeft( )” command three times. The directions don’t tell the player to do this, but instead asks him or her to make their character face right using the commands they have already learned.

In addition to Swift Playground’s lessons, which include the puzzle game described earlier, users can choose to partake in challenges or write their own code in a blank document or a template. Coders can then save their work to iCloud and export it into Xcode, Apple’s software for creating apps across its devices.

Apple: Open-sourcing Swift May Open the Floodgates to Business Apps

Apple’s first lesson, simply called Learn to Code, is surprisingly engaging. Although the games are tailored to younger players, older users will find much to enjoy here as well. It feels like a game, but the end result is in a way more satisfying, as issuing commands requires more thought than poking and prodding at a screen. Completing just a few portions of a lesson made me feel like I was building something.

Swift Playgrounds’ debut comes as companies and groups like Alphabet and Code.org are seeking out new ways to get young students interested in the world of computer programming. Apple has a particular interest in Swift Playgrounds’ success: Kids who grow up using it and eventually become skilled programmers may choose to develop software in Swift, creating new software that adds value to Apple’s hardware. The company also made Swift open source last year, giving developers outside of Apple’s ecosystem the chance to contribute to the language and bring it to new platforms.

Apple plans to work with schools to implement Swift Playgrounds in classrooms in addition to pushing it for individual use. “We believe coding should be a required language in all schools,” said Apple CEO Tim Cook at a company event last month. “And we hope that this gift to kids in schools around the world will help make coding a part of the school day.” The company is currently working with teachers and educators to use the app, but it would not reveal any specific plans.

“We started from the premise that kids are a heck of a lot smarter than we give them credit for,” says Cheryl Thomas, vice president of software engineering operations at Apple. “We didn’t want to dumb things down, if you will. We wanted to present to them the ability to write real code in a language like Swift, and have the understanding that what they are creating is going to scale in a big way.”

About the Author
By Lisa Eadicicco
See full bioRight Arrow Button Icon
Add Fortune on Google for similar content.

Latest in Tech

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025

Most Popular

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Fortune Secondary Logo
Rankings
  • 100 Best Companies
  • Fortune 500
  • Global 500
  • Fortune 500 Europe
  • Most Powerful Women
  • World's Most Admired Companies
  • See All Rankings
  • Lists Calendar
Sections
  • Finance
  • Fortune Crypto
  • Features
  • Leadership
  • Health
  • Commentary
  • Success
  • Retail
  • Mpw
  • Tech
  • Lifestyle
  • CEO Initiative
  • Asia
  • Politics
  • Conferences
  • Europe
  • Newsletters
  • Personal Finance
  • Environment
  • Magazine
  • Education
Customer Support
  • Frequently Asked Questions
  • Customer Service Portal
  • Privacy Policy
  • Terms Of Use
  • Single Issues For Purchase
  • International Print
Commercial Services
  • Advertising
  • Fortune Brand Studio
  • Fortune Analytics
  • Fortune Conferences
  • Business Development
  • Group Subscriptions
About Us
  • About Us
  • Press Center
  • Work At Fortune
  • Terms And Conditions
  • Site Map
  • About Us
  • Press Center
  • Work At Fortune
  • Terms And Conditions
  • Site Map
  • Facebook icon
  • Twitter icon
  • LinkedIn icon
  • Instagram icon
  • Pinterest icon

Latest in Tech

Presidents aren’t supposed to pick winners, former White House ethics lawyer says. Trump keeps choosing Dell
PoliticsDonald Trump
Presidents aren’t supposed to pick winners, former White House ethics lawyer says. Trump keeps choosing Dell
By Mia OsmonbekovJuly 7, 2026
5 hours ago
Palantir CEO Alex Karp with his arms outstretched while making a point on stage.
NewslettersEye on AI
Palantir CEO Alex Karp is wrong about the threat Anthropic and OpenAI pose to most enterprises. That doesn’t mean he doesn’t have something to lose
By Jeremy KahnJuly 7, 2026
6 hours ago
Scott Wu, in front of a blue background, sits in a gray chair and speaks to a person out of frame.
AIProductivity
Cognition CEO says tech companies got ‘carried away’ with token leaderboards and should measure employees on output instead
By Sasha RogelbergJuly 7, 2026
7 hours ago
Tech worker walks to office
SuccessJobs
AI start-ups are snubbing entry-level talent in favor of Silicon Valley men with top degrees, research shows
By Emma BurleighJuly 7, 2026
9 hours ago
South Korean law targeting ‘fake news’ takes effect, but journalists say it discourages critical reporting and can lead to self-censorship
AsiaSouth Korea
South Korean law targeting ‘fake news’ takes effect, but journalists say it discourages critical reporting and can lead to self-censorship
By The Associated Press and Kim Tong-HyungJuly 7, 2026
9 hours ago
Trump is building a helipad with ‘carved granite’ White House seal to handle new presidential choppers
PoliticsDonald Trump
Trump is building a helipad with ‘carved granite’ White House seal to handle new presidential choppers
By The Associated PressJuly 7, 2026
10 hours ago

Most Popular

Ex-PepsiCo CEO Indra Nooyi worked from midnight until 5 a.m. as a receptionist to pay for her Yale degree—and she says ‘respect went up’ because of it
Success
Ex-PepsiCo CEO Indra Nooyi worked from midnight until 5 a.m. as a receptionist to pay for her Yale degree—and she says ‘respect went up’ because of it
By Preston ForeJuly 6, 2026
1 day ago
Shark Tank's Kevin O'Leary says if he were 25 today, he'd chase these two booming opportunities in the world of AI
AI
Shark Tank's Kevin O'Leary says if he were 25 today, he'd chase these two booming opportunities in the world of AI
By Marco Quiroz-GutierrezJuly 5, 2026
2 days ago
China’s birth rate just hit its lowest point since 1949—and Trip.com cofounder James Liang thinks that’s a threat to innovation
Asia
China’s birth rate just hit its lowest point since 1949—and Trip.com cofounder James Liang thinks that’s a threat to innovation
By Nicholas GordonJuly 7, 2026
18 hours ago
Current price of oil as of July 6, 2026
Personal Finance
Current price of oil as of July 6, 2026
By Joseph HostetlerJuly 6, 2026
2 days ago
The man who ran Bernie's campaign says Democrats are still making the same mistakes with Democratic Socialists, and they should laud Mamdani's win
Politics
The man who ran Bernie's campaign says Democrats are still making the same mistakes with Democratic Socialists, and they should laud Mamdani's win
By Catherina GioinoJuly 6, 2026
1 day ago
Even as Elon Musk calls philanthropy ‘very hard,’ everyday Americans gave a record $617 billion—despite feeling the squeeze over the cost of living
Success
Even as Elon Musk calls philanthropy ‘very hard,’ everyday Americans gave a record $617 billion—despite feeling the squeeze over the cost of living
By Preston ForeJuly 4, 2026
4 days ago

© 2026 Fortune Media IP Limited. All Rights Reserved. Use of this site constitutes acceptance of our Terms of Use and Privacy Policy | CA Notice at Collection and Privacy Notice | Do Not Sell/Share My Personal Information
FORTUNE is a trademark of Fortune Media IP Limited, registered in the U.S. and other countries. FORTUNE may receive compensation for some links to products and services on this website. Offers may be subject to change without notice.