1 00:00:00,012 --> 00:00:05,455 >> Welcome to Week 2, games without, oops, what have we got here? 2 00:00:05,455 --> 00:00:06,768 Dice. No dice. 3 00:00:06,768 --> 00:00:08,279 Cards. No cards. 4 00:00:08,279 --> 00:00:10,013 No cards. No cards. 5 00:00:10,013 --> 00:00:12,515 No dice. No win moves at all. 6 00:00:12,515 --> 00:00:18,830 Games without dice or cards. Combinatorial game theory, I'm Tom Morley 7 00:00:18,830 --> 00:00:20,266 again. Welcome. 8 00:00:20,266 --> 00:00:27,227 So, in the study of these simple games, what we need in order to look at examples 9 00:00:27,227 --> 00:00:33,377 by hand, is a whole bunch of games. We have a couple that we've look at 10 00:00:33,377 --> 00:00:36,993 already, and we'll look at again this week. 11 00:00:36,993 --> 00:00:41,509 But I want to introduce you to a new game, new game. 12 00:00:41,510 --> 00:00:48,190 It's called Cutcake. Okay, in this game, like all the other 13 00:00:48,190 --> 00:00:56,622 games that we've looked at, the players are left and right, they move alternately 14 00:00:56,622 --> 00:01:03,546 left moves, then right moves, then left moves, then right moves. 15 00:01:03,546 --> 00:01:07,763 And the first player, who has no move at all, loses. 16 00:01:07,763 --> 00:01:12,646 So, cutcake is played on squares like this, that's 2 by 2. 17 00:01:12,646 --> 00:01:18,891 You could start off with a 3 by 3, a 10 by 10, a 6 by 4, whatever you like. 18 00:01:18,892 --> 00:01:26,090 And let me show you the various moves that are possible just in this example, on a 2 19 00:01:26,090 --> 00:01:30,534 by 2. Left always cuts up and down, right always 20 00:01:30,534 --> 00:01:35,367 cuts left to right. We're actually looking at a couple other 21 00:01:35,367 --> 00:01:41,947 cut games before we finish the course and we'll always use this convention, left 22 00:01:41,947 --> 00:01:46,279 cuts, cuts up and down, right cuts left to right, okay? 23 00:01:46,279 --> 00:01:52,615 So, if left goes for first here, left is, only move, possible move, is left to cut 24 00:01:52,615 --> 00:01:57,246 the center seam here. Oops, left, left cuts up and down, I've 25 00:01:57,246 --> 00:02:01,873 got that backwards. Okay, so left goes up and down, like this. 26 00:02:01,873 --> 00:02:06,815 That leaves two pieces like this. Now, what is right's movement here? 27 00:02:06,815 --> 00:02:12,563 Right doesn't get to cut in both of them, right has to pick one or the other and cut 28 00:02:12,563 --> 00:02:15,508 in it. We see that they're approximately the 29 00:02:15,508 --> 00:02:20,857 same, no matter which piece right picks. If right picks, say, the first one, right 30 00:02:20,857 --> 00:02:24,232 cuts across like that, that's the way right cuts. 31 00:02:24,232 --> 00:02:28,773 That leaves two pieces here. In both of these pieces, no cuts left are 32 00:02:28,773 --> 00:02:32,054 possible. They've been cut into small squares. 33 00:02:32,055 --> 00:02:36,755 There's this piece left here, which right has a cut in. 34 00:02:36,755 --> 00:02:41,451 But remember, it's left's turn next, and left has no move. 35 00:02:41,451 --> 00:02:45,996 Left loses. So in, in this cutcake, that's 2 by 2, if 36 00:02:45,996 --> 00:02:51,388 left goes first, left loses. You might want to look and see what 37 00:02:51,388 --> 00:02:55,369 happens if right goes first. Try it out. 38 00:02:55,369 --> 00:03:00,773 Try it out for yourself. Let's remember a little bit about 39 00:03:00,773 --> 00:03:05,286 Hackenbush. And let me actually extend the game 40 00:03:05,286 --> 00:03:10,510 slightly. Hackenbush you played on we have this 41 00:03:10,510 --> 00:03:16,018 ground here which is green. The green grass on the ground. 42 00:03:16,018 --> 00:03:23,478 And growing out of the ground is red, blue, green plant of some sort, okay? 43 00:03:23,478 --> 00:03:30,351 The, the edges are red and right can cut the red edges, and the edges are, some 44 00:03:30,351 --> 00:03:34,744 edges are blue, and blue edges can be cut by left. 45 00:03:34,744 --> 00:03:38,882 So, right for red, right has an r in it. Blue for left. 46 00:03:38,882 --> 00:03:43,248 Blue has an l in it. And the green edges can be cut by both 47 00:03:43,248 --> 00:03:47,031 players. Now, this is, these green edges are new 48 00:03:47,031 --> 00:03:50,728 from last time. And I'll try to point this out. 49 00:03:50,728 --> 00:03:54,030 On some monitors, this, this looks very similar. 50 00:03:54,030 --> 00:04:00,677 The blue and the green look very similar. I'll try to point when there's some 51 00:04:00,677 --> 00:04:04,987 confusion. Okay, let's look at this, this example 52 00:04:04,987 --> 00:04:12,418 down here we have this whole plant here. Suppose it's, rights move and right cuts, 53 00:04:12,418 --> 00:04:18,593 by pencil mark, this right edge, this right edge then disappears and then, 54 00:04:18,593 --> 00:04:23,352 everything that's not hooked up to ground also disappears. 55 00:04:23,352 --> 00:04:28,836 So, once this, this, this red edge here is disconnected, this whole piece of the 56 00:04:28,836 --> 00:04:33,150 plant here will die because it's not connected to the ground. 57 00:04:33,150 --> 00:04:38,497 So, we erase all of that. So, players alternate right cuts right 58 00:04:38,497 --> 00:04:43,626 edges or green edges. Left cuts blue edges or green edges. 59 00:04:43,626 --> 00:04:50,562 Each time you cut an edge, that edge disappears together with everything above 60 00:04:50,562 --> 00:04:54,621 it. And the first player, who can't move, 61 00:04:54,621 --> 00:04:56,591 loses. Alright. 62 00:04:56,591 --> 00:05:06,542 Now, it's fun to play one game at a time, but it's even more fun to game, play five 63 00:05:06,542 --> 00:05:14,962 or six games all at once. So, I don't know let, let's play over 64 00:05:14,962 --> 00:05:22,759 here, let's play a game of chess. Over here, let's play a, a game of go. 65 00:05:22,759 --> 00:05:29,534 Over here, let's play I don't know, a cutcake of some sort. 66 00:05:29,534 --> 00:05:35,368 Let's, let's, let's, let's play a hackenbush. 67 00:05:35,369 --> 00:05:42,937 Suppose some of these edges are green and some are red, I'm not going to draw it. 68 00:05:42,937 --> 00:05:48,004 I just mean this to be a schematic. Over here, we have a nim-heap of some 69 00:05:48,004 --> 00:05:51,081 size. And let's play all of these at once. 70 00:05:51,081 --> 00:05:54,383 Now, what do I mean by playing all of these at once? 71 00:05:54,383 --> 00:05:59,990 Well, the players now alternate. But instead of playing one game or the 72 00:05:59,990 --> 00:06:07,360 other, you pick one game out of the five, and they can move in that game, and that's 73 00:06:07,360 --> 00:06:13,379 your, that's your turn. The other player, if you're left, say you 74 00:06:13,379 --> 00:06:20,199 do that first, the other player, say, right, picks one game out of the five, 75 00:06:20,199 --> 00:06:25,308 makes a move or not, okay? We know the following, even though the, 76 00:06:25,308 --> 00:06:30,869 the players go left, right, left, right, left, right, left, right, in each of the 77 00:06:30,869 --> 00:06:36,845 individual games, the players may not, the plays in that, inside that individual game 78 00:06:36,845 --> 00:06:42,157 may not be left, right, left, right, because left might make a move in here and 79 00:06:42,157 --> 00:06:46,628 then right moves over here and then left moves again over here. 80 00:06:46,628 --> 00:06:53,443 So, in the individual games, we may not have left, right, left, right, left, right 81 00:06:53,444 --> 00:07:00,282 alternation but in this, this combination game of playing these games all at once, 82 00:07:00,282 --> 00:07:04,371 we do have left, right, left, right alternation. 83 00:07:04,371 --> 00:07:10,977 Now, if these individual games are called G, H, K, L, and M, then, then playing 84 00:07:10,977 --> 00:07:17,777 these games at once simultaneously, like we just went through is called the sum of 85 00:07:17,777 --> 00:07:22,012 the games and is written just like ordinary sums. 86 00:07:22,012 --> 00:07:26,798 So, G plus H plus K plus L plus M, represents the game. 87 00:07:26,798 --> 00:07:32,769 We have these, these 5 games, I guess. Let's see, 1, 2, 3, 4, 5, I'm not very 88 00:07:32,769 --> 00:07:37,982 good at numbers. But I think there's five games there. 89 00:07:37,982 --> 00:07:43,876 We have these five games and then each player, left and right, in alternation 90 00:07:43,876 --> 00:07:48,274 picks one of these games and makes a move in that one game. 91 00:07:48,274 --> 00:07:54,488 Now, the first player who can't move at all, loses, just like we have in all our 92 00:07:54,488 --> 00:07:59,445 other games. So you can't move after you're checkmated. 93 00:07:59,446 --> 00:08:05,244 Go, you can't move after you lose. Cutcake, we know the rules for cutcake. 94 00:08:05,244 --> 00:08:09,178 Hackenbush, we know the rules for hackenbush. 95 00:08:09,179 --> 00:08:14,372 We have a pile of, of 4 coins here, so whoever move, once the coins are gone, 96 00:08:14,372 --> 00:08:19,207 then there's no moves there. So, once there's no moves left in any of 97 00:08:19,207 --> 00:08:24,992 these games, then there's no moves left for that player, and that player loses. 98 00:08:24,992 --> 00:08:30,693 So, let's, let's maybe look at a an example, and try to play through part of 99 00:08:30,693 --> 00:08:35,068 the game. So here, we have a cutcake and two 100 00:08:35,068 --> 00:08:41,590 hackenbush games. And we've been looking at left first for a 101 00:08:41,590 --> 00:08:45,029 while. So, let's do right first. 102 00:08:45,029 --> 00:08:50,595 So, suppose right moves first by cutting this in 2. 103 00:08:50,595 --> 00:09:00,606 Therefore, what's left there on the table is, is one of these and another one of 104 00:09:00,606 --> 00:09:06,336 these. And now, it's, in some sense this is now 4 105 00:09:06,336 --> 00:09:11,296 games. This game, this game, this game, and this 106 00:09:11,296 --> 00:09:14,023 game. Now, it's left's move. 107 00:09:14,023 --> 00:09:18,624 Left I don't know, what does, what does left want to do? 108 00:09:18,624 --> 00:09:26,656 Let's say, cuts one of these off. And so, this now becomes, and now, we have 109 00:09:26,656 --> 00:09:31,837 this game, this game, this game, this game, and this game. 110 00:09:31,838 --> 00:09:37,946 Right has a move. Right, maybe, cuts this off that gets rid 111 00:09:37,946 --> 00:09:43,330 of the blue also. Every, this, this all goes up in the air. 112 00:09:43,330 --> 00:09:48,954 There's no moves left in that game. Left's move again. 113 00:09:48,955 --> 00:09:54,956 Oh, I don't know, left might cut off another square down here. 114 00:09:54,956 --> 00:10:00,583 And we can continue on left, right, left, right, left, right. 115 00:10:00,583 --> 00:10:06,944 And I think in a move or 2, you'll see that left can win this game. 116 00:10:06,944 --> 00:10:10,761 So, so, try that out for yourself.