[Script Info] Title: [Events] Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text Dialogue: 0,0:00:05.09,0:00:12.53,Default,,0000,0000,0000,,This lesson is called dice race. Almost everyone\Nlikes to play computer games. Have you ever Dialogue: 0,0:00:12.53,0:00:17.64,Default,,0000,0000,0000,,thought about how computer programmers turn\Nthe steps of a game into a program? The first Dialogue: 0,0:00:17.64,0:00:23.86,Default,,0000,0000,0000,,step in creating computer games and in solving\Nany problem requires thinking and planning. Dialogue: 0,0:00:23.86,0:00:29.24,Default,,0000,0000,0000,,The thinking step of problem solving produces\Nan algorithm, which is a step by step plan Dialogue: 0,0:00:29.24,0:00:35.10,Default,,0000,0000,0000,,for solving a problem or finishing a task.\NIn this lesson, you'll create an algorithm Dialogue: 0,0:00:35.10,0:00:41.82,Default,,0000,0000,0000,,for a dice race game. Then you'll ask your\Nfriends to try out your plan to see if they Dialogue: 0,0:00:41.82,0:00:47.00,Default,,0000,0000,0000,,can follow the steps to play the game. After\Nthe programmer is sure the steps are correct, Dialogue: 0,0:00:47.00,0:00:51.92,Default,,0000,0000,0000,,it's time to translate the algorithm into\Na program with language that the computer Dialogue: 0,0:00:51.92,0:00:58.78,Default,,0000,0000,0000,,can understand. Almost everything we do every\Nday requires an algorithm, a list of steps Dialogue: 0,0:00:58.78,0:01:03.98,Default,,0000,0000,0000,,you can follow to finish a task. Think about\Ngetting ready for school or planning a fun Dialogue: 0,0:01:03.98,0:01:10.16,Default,,0000,0000,0000,,day with your friends or fixing a snack. To\Ncomplete any of those tasks, you'll need to Dialogue: 0,0:01:10.16,0:01:16.23,Default,,0000,0000,0000,,break it down into smaller steps and sometimes\Nthe steps must be in a specific order. Think Dialogue: 0,0:01:16.23,0:01:20.75,Default,,0000,0000,0000,,about making a sandwich. It doesn't matter\Nwhich ingredient you get out of the cabinet Dialogue: 0,0:01:20.75,0:01:26.48,Default,,0000,0000,0000,,first. But you can't spread the peanut butter\Nuntil you open the jar. Computers need algorithms Dialogue: 0,0:01:26.48,0:01:31.100,Default,,0000,0000,0000,,and programs to show them how to do even simple\Nthings that we can do without thinking about Dialogue: 0,0:01:31.100,0:01:38.37,Default,,0000,0000,0000,,it. An algorithm is the thinking behind what\Nneeds to happen while the program is the actual Dialogue: 0,0:01:38.37,0:01:44.71,Default,,0000,0000,0000,,instructions given to the computer to make\Nit happen. An algorithm has to be translated Dialogue: 0,0:01:44.71,0:01:50.99,Default,,0000,0000,0000,,into a program before a computer can run it.\NBreaking a task into steps called an algorithm Dialogue: 0,0:01:50.99,0:01:57.34,Default,,0000,0000,0000,,is sometimes difficult. But like any new skill,\Nit gets easier and easier with practice.