[Script Info] Title: [Events] Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text Dialogue: 0,0:00:04.07,0:00:10.02,Default,,0000,0000,0000,,A variable is a container that you can store\Na value in. When you use that variable in Dialogue: 0,0:00:10.02,0:00:15.64,Default,,0000,0000,0000,,an algorithm, it opens up the container and\Nlooks at the value inside. This lets you write Dialogue: 0,0:00:15.64,0:00:20.82,Default,,0000,0000,0000,,smarter algorithms that behave differently\Ndepending on the value stored in the variable. Dialogue: 0,0:00:20.82,0:00:25.80,Default,,0000,0000,0000,,Now you're going to try playlab where you\Nare given different games and you can change Dialogue: 0,0:00:25.80,0:00:31.69,Default,,0000,0000,0000,,the values of variables like speed, height,\Nscore, in order to change the game. You won't Dialogue: 0,0:00:31.69,0:00:37.02,Default,,0000,0000,0000,,have to change the algorithm of the game to\Nchange how it plays, just the variable. In Dialogue: 0,0:00:37.02,0:00:41.96,Default,,0000,0000,0000,,my work for Kindle and on X-ray for books,\Nwe apply variables in many different ways. Dialogue: 0,0:00:41.96,0:00:47.55,Default,,0000,0000,0000,,One way that you can use a variable is to\Nstore page numbers of a book. A user can increase Dialogue: 0,0:00:47.55,0:00:53.06,Default,,0000,0000,0000,,and decrease the size of the font on a page.\NBased on the font size, the number of pages Dialogue: 0,0:00:53.06,0:00:58.03,Default,,0000,0000,0000,,in the book can change. We can adjust it by\Nstoring the number of pages in the variable.