Загрузка страницы

Swift Playgrounds - Learn to Code 1: Walkthrough & tutorial with working solutions for every level!

Swift Playgrounds - Learn to Code 1: Walkthrough & tutorial with working solutions for every level is here to help you understand the code and to compare your solutions with the ones posted here. This is not intended as a cheat sheet, but rather a helper on your coding journey.

Follow the code as it gets executed, learn the algorithms and understand the solutions.

If you have a different solution, let me know! All comments are welcome because discussion is what helps us become better coders/programmers/developers!

In this video you will find solutions for all levels:

00:00:00 Let's start!
00:00:30 Issuing Commands
00:01:00 Adding a New Command
00:01:26 Toggling a Switch
00:02:03 Portal Practice
00:02:45 Finding and Fixing Bugs
00:03:20 Bug Squash Practice
00:04:05 The Shortest Route
00:05:28 Composing a New Behavior
00:06:05 Creating a New Function
00:07:05 Collect, Toggle, Repeat
00:08:11 Across the Board
00:09:08 Nesting Patterns
00:10:26 Slotted Stairways
00:12:17 Treasure Hunt
00:14:47 Using Loops
00:15:46 Looping All the Sides
00:16:39 To the Edge and Back
00:18:02 Loop Jumper
00:19:23 Branch Out
00:22:10 Gem Farm
00:23:58 Four Stash Sweep
00:26:41 Checking for Switches
00:27:18 Using else if
00:27:50 Looping Conditional Code
00:29:12 Conditional Climb
00:30:44 Defining Smarter Functions
00:33:06 Boxed In
00:34:43 Decision Tree
00:38:05 Using the NOT Operator
00:38:55 Spiral of NOT
00:40:18 Checking This AND That
00:41:58 Checking This OR That
00:43:14 Logical Labyrinth
00:45:32 Running Code While...
00:46:18 Creating Smarter While Loops
00:47:40 Choosing the Correct Tool
00:49:01 Four by Four
00:50:30 Turned Around
00:51:51 Land of Bounty
00:54:25 Nesting Loops
00:56:29 Random Rectangles
00:57:48 You're Always Right
01:02:32 The Right-Hand Rule
01:06:00 Adjusting Your Algorithm
01:13:47 Conquering a Maze
01:17:37 Which Way to Turn?
01:22:35 Roll Right, Roll Left

Please note that sometimes Playgrounds app would go haywire and misrepresent the movement of the character but the solution would still be correct. In these cases I would the level again to show the correct behavior of characters.

In rare cases the code you see here is version 1.0 - most of the time it had at least one correction, sometimes more. Sometimes it's even version 2.0 or 3.0! Don't worry if you don't get things right from the start or if you're struggling with understanding how to do things. Just keep going and slowly improve. We've all been there!

Enjoy and happy coding!

Please LIKE this video and SUBSCRIBE to support this channel. Click the NOTIFICATION bell to join us in our next battle! Thank you!

Hashtags:

#SwiftPlaygrounds, #LearntoCode1, #SwiftPlayground

Видео Swift Playgrounds - Learn to Code 1: Walkthrough & tutorial with working solutions for every level! канала dux mi514v
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
27 июля 2020 г. 20:42:51
01:31:50
Яндекс.Метрика