1 00:00:00,012 --> 00:00:03,449 >> Welcome back. We have, what do we have? 2 00:00:03,449 --> 00:00:09,047 We have, we have a straight flush. Small, small values. 3 00:00:09,047 --> 00:00:15,769 But nonetheless, straight flush. Not quite in order, but you can check it. 4 00:00:15,769 --> 00:00:22,288 We're doing toads and frogs now. You can, you can do this at home. 5 00:00:22,288 --> 00:00:29,562 With people and it's fun play with people but you can also do it with, with coins. 6 00:00:29,563 --> 00:00:35,729 Here's toads and frogs. Let's use nickels over here and Jefferson 7 00:00:35,729 --> 00:00:40,137 nickels. Let's use Lincoln pennies over here. 8 00:00:40,137 --> 00:00:46,201 Here's toads and frogs. The toads in this case are the nickels, 9 00:00:46,201 --> 00:00:50,319 they move right and are controlled by left. 10 00:00:50,319 --> 00:00:57,417 The frogs are the Lincoln cents, they move left and are controlled by right. 11 00:00:57,418 --> 00:01:05,739 The toads can move one space to the right if it's empty. 12 00:01:05,739 --> 00:01:13,597 The frogs can move one space to the left it it's empty. 13 00:01:13,597 --> 00:01:21,288 But they also can jump over each other. A toad can jump over a frog, like this. 14 00:01:21,288 --> 00:01:27,008 Note that the, the coin when you jump over isn't removed. 15 00:01:27,009 --> 00:01:31,171 'Kay? But you can jump over and then they, then 16 00:01:31,171 --> 00:01:38,007 say the Lincoln cent can move over here the, the nickel can do here. 17 00:01:38,007 --> 00:01:43,557 The Lincoln cent can move over here My concern is the frog. 18 00:01:43,557 --> 00:01:50,196 And we see at this point that neither the toads nor the frogs have a move so this 19 00:01:50,196 --> 00:01:57,255 Lincoln cent, which was a frog, was right. Right made the last move, it's now left's 20 00:01:57,255 --> 00:02:01,511 turn, left doesn't have any moves, left loses, Okay. 21 00:02:01,511 --> 00:02:08,554 That's toads and frogs. And there's lots of examples involving up, 22 00:02:08,554 --> 00:02:18,920 down and integers and all that good stuff involving with the small versions of toads 23 00:02:18,920 --> 00:02:22,435 and frogs. So, so you can try this at home. 24 00:02:22,435 --> 00:02:28,031 You can either do this with, with, with coins on a piece of paper or get your 25 00:02:28,031 --> 00:02:33,707 friends and, that way you can jump over one another and you, you draw these on the 26 00:02:33,707 --> 00:02:35,539 floor, okay? All right. 27 00:02:35,539 --> 00:02:40,942 So but be careful. Don't hurt yourself and don't try that at 28 00:02:40,942 --> 00:02:43,505 home. Probably do it with coins. 29 00:02:43,505 --> 00:02:47,789 All right. So lets look at its, at a, toads and frogs 30 00:02:47,789 --> 00:02:51,567 position. Now here we have toad, toad, they move 31 00:02:51,567 --> 00:02:56,561 right, they're controlled by left. Blank means an empty space. 32 00:02:56,561 --> 00:03:01,556 Frog, frog, frogs are controlled by right. They move left. 33 00:03:01,556 --> 00:03:08,492 So, the only possible opening move for left is to move to toad, is to move this 34 00:03:08,492 --> 00:03:13,995 toad one to the right and that leaves toad blank toad frog, frog. 35 00:03:13,995 --> 00:03:20,238 And the only possible opening move for right is to move this frog one left and 36 00:03:20,238 --> 00:03:25,523 that's leaves the position, toad, toad, frog, blank, frog. 37 00:03:25,523 --> 00:03:29,276 Now, let's go over here and look at this position. 38 00:03:29,276 --> 00:03:34,319 If left moves in this position, then this toad moves to the right. 39 00:03:34,320 --> 00:03:37,695 And we're left with toad, toad, frog, frog. 40 00:03:37,695 --> 00:03:39,995 That's a zero position. Okay? 41 00:03:39,996 --> 00:03:46,424 Up and if right moves then right can jump out take this frog. 42 00:03:46,424 --> 00:03:54,295 The only possible case is for right to move this frog jump over the toad and left 43 00:03:54,295 --> 00:04:01,468 with toad, frog, toad blank frog. Now let me remind you that when we're 44 00:04:01,468 --> 00:04:08,302 analyzing games we have to consider like two left moves in a row and right moves in 45 00:04:08,302 --> 00:04:15,005 a row, because we want to analyze this game in the context of a much larger game. 46 00:04:15,006 --> 00:04:18,207 So we might have this toads and frogs over here. 47 00:04:18,207 --> 00:04:23,559 We might have a nim game someplace else, cut cake someplace else, a game of chess 48 00:04:23,559 --> 00:04:28,320 going on, a game of Go going on. And then each player in turn chooses one 49 00:04:28,320 --> 00:04:31,667 of these, one of these games and makes a move in it. 50 00:04:31,667 --> 00:04:38,168 This is how we add gain. So and in doing so in adding this game to, 51 00:04:38,168 --> 00:04:44,707 to others, left might make two, two moves in a row in this, okay? 52 00:04:44,707 --> 00:04:52,585 So, I'm going to leave out some, some pretty long, I think, computation, but 53 00:04:52,585 --> 00:04:57,972 this game down here. Toad, frog, toad, blank, frog is actually 54 00:04:57,972 --> 00:05:01,161 equal to star so we have this game up here. 55 00:05:01,161 --> 00:05:06,847 Toad, blank, toad, frog, frog. Its left option, only left option is to 56 00:05:06,847 --> 00:05:10,316 move to zero only left move is to move to zero. 57 00:05:10,316 --> 00:05:16,118 Only right move is to move to star and therefore this game toad, blank, toad, 58 00:05:16,118 --> 00:05:20,846 frog, frog is up. Up, you remember, was left 0, right star. 59 00:05:20,846 --> 00:05:27,092 Now, if you look at this game over here, it's the same as the game over here, with 60 00:05:27,092 --> 00:05:32,241 toads and frogs interchanged and left and right interchanged. 61 00:05:32,241 --> 00:05:37,455 Just, Just take the mirror image and change all the toads to frogs and all the 62 00:05:37,455 --> 00:05:41,665 togs, frogs to toads. Therefore this gain on the right is the 63 00:05:41,665 --> 00:05:46,257 negative of the gain over here. So this gain on the right is minus up 64 00:05:46,257 --> 00:05:53,956 which is sometimes written down. So this whole gain is equal to up down. 65 00:05:55,431 --> 00:06:03,625 And that's what I want to look at in this module. 66 00:06:03,625 --> 00:06:11,430 Okay. So, there are no dominated moves. 67 00:06:11,430 --> 00:06:19,735 Because there's only 1 move possible for each player. 68 00:06:19,735 --> 00:06:26,498 But down here. If up is 0, star, then down is its 69 00:06:26,498 --> 00:06:35,703 negative which is star, 0. Remember that the negative of star is star 70 00:06:35,703 --> 00:06:42,786 and the negative of 0 is 0. And, so if right moves to down. 71 00:06:42,786 --> 00:06:52,824 Left can move,[SOUND]. Left can move to star. 72 00:06:52,824 --> 00:07:04,461 And my claim is, star is better. For left than the original game. 73 00:07:04,461 --> 00:07:09,547 That is to say, g is less than or equal to star. 74 00:07:09,547 --> 00:07:15,351 Which is the same thing as adding star to both sides. 75 00:07:15,351 --> 00:07:24,028 G plus star is less than or equal to 0. Which says, that right wins this game 76 00:07:24,028 --> 00:07:32,139 going second. Okay, who will bit the[UNKNOWN] there? 77 00:07:32,139 --> 00:07:45,091 So, but what this means is that if right moved down, left moves immediately to up. 78 00:07:45,091 --> 00:07:49,902 I'm sorry. Right moves to down, left moves 79 00:07:49,902 --> 00:07:56,353 immediately to star. And now since star is 0, 0, the right 80 00:07:56,353 --> 00:08:05,941 possibilities for to, to move From star are only 0, so this reverses all the way 81 00:08:05,941 --> 00:08:15,529 down to just 0 which means that if right plays down left and mutely[UNKNOWN] plays 82 00:08:15,529 --> 00:08:21,896 star and then rights only option is, is down[SOUND]. 83 00:08:21,896 --> 00:08:26,096 So this says that g is actually equal to up zero. 84 00:08:26,096 --> 00:08:32,470 And this game simplifies a little bit. But that's part of the exercises, 85 00:08:32,470 --> 00:08:37,157 homework, quiz. Whatever you want to call it, for this 86 00:08:37,157 --> 00:08:38,571 week. Alright. 87 00:08:38,571 --> 00:08:43,046 Now, let me make some general comments about this. 88 00:08:43,046 --> 00:08:48,358 Simplifying games. We, we came up with 2 ways of simplifying 89 00:08:48,358 --> 00:08:51,061 games. Dominated moves. 90 00:08:51,061 --> 00:08:57,584 We can delete dominated moves. If a move is better for left than another 91 00:08:57,584 --> 00:09:02,396 move, then you can, you never have to do the poor move. 92 00:09:02,396 --> 00:09:09,214 If, if a move is better for right. You never have to use the move that it's 93 00:09:09,214 --> 00:09:14,579 better than. And reversible move and that's a little 94 00:09:14,579 --> 00:09:22,418 complicated but we have some examples and that's probably technically the most 95 00:09:22,418 --> 00:09:30,003 complicated thing in the whole course. Now, the question is, is this enough? 96 00:09:30,003 --> 00:09:35,878 That is are there other possible ways of simplifying games? 97 00:09:35,878 --> 00:09:40,940 Of course there are. But what one can show is that this is 98 00:09:40,940 --> 00:09:47,081 enough in the sense that if you keep doing dominated moves and reversible moves and 99 00:09:47,081 --> 00:09:52,599 keep doing them over and over again, you'll reach a point where no moves are 100 00:09:52,599 --> 00:09:58,651 dominated, no moves are reversible and what's left is called the canonical form, 101 00:09:58,651 --> 00:10:05,237 and if, that's unique and there's so, and so in some sense some technical sense, in 102 00:10:05,237 --> 00:10:11,376 fact that one can make very precise, the simplest possible version of that game. 103 00:10:11,376 --> 00:10:18,349 So all that you really need is this. Now in terms, and that's how some computer 104 00:10:18,349 --> 00:10:24,810 programs, and you can look up which ones that are available open source up on the 105 00:10:24,810 --> 00:10:32,272 web actually simplified games And, they keep doing dominated moves and reversible 106 00:10:32,272 --> 00:10:36,079 moves over and over again until there aren't any. 107 00:10:36,079 --> 00:10:41,981 And then when its left, they say, this is as simple as possible, and that's what it 108 00:10:41,981 --> 00:10:42,890 is. Okay. 109 00:10:42,891 --> 00:10:49,130 Let me just leave you with this which will be posted in, in the assignments, et 110 00:10:49,130 --> 00:10:54,070 cetera. And the directions this week are simplify. 111 00:10:54,070 --> 00:11:00,619 So, write down the simplest form of, of each of these games. 112 00:11:00,619 --> 00:11:06,312 Number 1 is numbers over here and numbers over here. 113 00:11:06,312 --> 00:11:11,777 2 and 3 are turn out to be numbers, I think. 114 00:11:11,777 --> 00:11:18,034 But, you try it yourself. Number 4 was what we ended up with in the 115 00:11:18,034 --> 00:11:23,682 exact last answer. We took up down and simplified to this. 116 00:11:23,682 --> 00:11:29,200 And now we want to simplify this further. The last one is the toads and frogs 117 00:11:29,200 --> 00:11:32,205 position. Remember, frogs move right. 118 00:11:32,205 --> 00:11:37,043 Toads move left. Take this and see if you can come up with 119 00:11:37,043 --> 00:11:44,284 the simplest possible description of that and we'll see you all in a week or two. 120 00:11:44,284 --> 00:11:47,231 Take care. Next week I think is NIM. 121 00:11:47,231 --> 00:11:55,193 We finally will, will analyze NIM in general and answer the question, with the 122 00:11:55,193 --> 00:11:59,512 arbitrary mid game how do you play and when? 123 00:11:59,512 --> 00:12:03,001 Sp, we'll see that all next time. Take care.