1 00:00:01,800 --> 00:00:06,660 Welcome, ladies and gentlemen, today we are going to do is we are going to discuss what we are going 2 00:00:06,660 --> 00:00:11,810 to build in next couple of lectures and that will be this dice game. 3 00:00:12,180 --> 00:00:14,490 So we have two players for this game. 4 00:00:14,670 --> 00:00:19,620 We're going to build it from scratch, but only the genius board. 5 00:00:19,620 --> 00:00:22,650 We're not going to do the actual styling. 6 00:00:22,650 --> 00:00:27,350 So I'm going to give you the actual styling, the Sasko, the Cisco, whatever you want. 7 00:00:27,570 --> 00:00:32,970 You can just extend the change if something you don't like and but that's up to you. 8 00:00:33,000 --> 00:00:36,960 You need to have a little bit knowledge of success, and that's pretty much it. 9 00:00:36,990 --> 00:00:41,880 No, this is the game that we are going to start and it would look like this. 10 00:00:42,060 --> 00:00:43,140 So everything is on. 11 00:00:43,140 --> 00:00:47,220 You can see the player one state is on and the player to state is green. 12 00:00:47,220 --> 00:00:49,380 And that means we have two winners. 13 00:00:49,380 --> 00:00:50,280 That's not possible. 14 00:00:50,280 --> 00:00:50,490 Right? 15 00:00:50,730 --> 00:00:54,210 This is how are we going to start our project? 16 00:00:54,240 --> 00:00:58,980 But this doesn't mean that the project will look like this after we finish everything. 17 00:00:59,400 --> 00:01:00,630 This will be the project. 18 00:01:01,770 --> 00:01:03,840 This will be the end result. 19 00:01:04,020 --> 00:01:05,460 So I can roll the dice. 20 00:01:05,460 --> 00:01:09,270 And the player one is actually be the first one that will roll the dice. 21 00:01:09,480 --> 00:01:12,720 So we're going to have five, which he wrote. 22 00:01:12,720 --> 00:01:16,110 Five will be the result in there. 23 00:01:16,350 --> 00:01:17,790 We're going to have five cubes. 24 00:01:17,790 --> 00:01:21,300 So we're going to build this block here and a half block for the other player. 25 00:01:21,300 --> 00:01:21,570 Right. 26 00:01:21,900 --> 00:01:30,480 So next time when you roll the dice, it's actually going to be for the other person, the other player, 27 00:01:30,660 --> 00:01:33,870 which again, he scored for some coincidence. 28 00:01:33,870 --> 00:01:38,430 Five, no, this game was originally named run two hundred. 29 00:01:38,970 --> 00:01:45,780 But because it took me like a bigger space here, I didn't I don't want to compromise my space so you 30 00:01:45,780 --> 00:01:46,920 can change it if you want. 31 00:01:47,070 --> 00:01:49,440 I just change it to run to twenty. 32 00:01:49,440 --> 00:01:49,770 Right. 33 00:01:49,950 --> 00:01:52,440 That's why it's called front to twenty here and here. 34 00:01:52,440 --> 00:01:53,190 Run to hundred. 35 00:01:53,400 --> 00:01:59,490 Now that it's not going to affect any way of the game is just going to decrease the amount of rolling 36 00:01:59,490 --> 00:02:00,900 right now. 37 00:02:01,140 --> 00:02:07,980 The next time when you roll the dice, the blier and before was five plus four, it's going to give 38 00:02:07,980 --> 00:02:09,920 us nine and we have nine blocks here. 39 00:02:09,940 --> 00:02:15,150 Now, when I wrote the Game Change check on the state, the state is also changing. 40 00:02:15,480 --> 00:02:21,750 So here, old one is actually six and this guy rolled six and fifteen. 41 00:02:21,960 --> 00:02:24,420 The other guy eleven, nineteen. 42 00:02:25,440 --> 00:02:27,630 And this guy rules six again. 43 00:02:27,630 --> 00:02:30,480 So give me the final result of twenty five. 44 00:02:30,690 --> 00:02:33,900 So if I hit again one that will be the winner. 45 00:02:33,900 --> 00:02:34,320 Right. 46 00:02:35,040 --> 00:02:40,800 And I have restart button so we can restart the game because that game was finished. 47 00:02:41,130 --> 00:02:47,430 And I didn't tell you that when we, when a player wins this here is not visible. 48 00:02:47,430 --> 00:02:50,310 So we're going to play around with the visibility. 49 00:02:50,340 --> 00:02:57,720 So everything we learn in the dom, everything we learn with the to do list project, that was also 50 00:02:57,720 --> 00:02:58,410 very good. 51 00:02:59,160 --> 00:03:05,250 We are going to do it a little bit here and you will learn much more things how you can do it. 52 00:03:05,250 --> 00:03:05,610 Right. 53 00:03:05,910 --> 00:03:08,280 And I hope that you can enjoy this game. 54 00:03:08,280 --> 00:03:14,040 I hope you're going to like it because this game can be changed to something else. 55 00:03:14,040 --> 00:03:20,490 If you are curious to learn more so you can play around with some values, you can play around some 56 00:03:20,490 --> 00:03:22,830 success and you can change it according to your needs. 57 00:03:22,830 --> 00:03:23,130 Right. 58 00:03:23,140 --> 00:03:26,160 Maybe you can develop another logic for doubling. 59 00:03:26,400 --> 00:03:29,280 So this is a run to twenty or two hundred depends. 60 00:03:29,640 --> 00:03:35,760 So I just want to show you that this player can win sometimes he has a bad luck today. 61 00:03:36,690 --> 00:03:37,230 Here he is. 62 00:03:37,230 --> 00:03:40,350 He's a winner now and that's pretty much it. 63 00:03:40,350 --> 00:03:42,120 This is what the game will look through. 64 00:03:42,120 --> 00:03:43,200 I have two buttons here. 65 00:03:43,440 --> 00:03:46,320 These are actual roll the dice and we start. 66 00:03:46,620 --> 00:03:46,980 Right. 67 00:03:47,690 --> 00:03:52,380 So take care and I will see you in the next one, please. 68 00:03:52,740 --> 00:03:55,500 Like, share squat whenever you're going to do. 69 00:03:55,530 --> 00:04:03,410 Give me a feedback about this one and I will just start explaining from scratch from the next election. 70 00:04:03,420 --> 00:04:04,410 So see you then. 71 00:04:04,410 --> 00:04:05,970 Enjoy the rest of the day.