1 00:00:13,590 --> 00:00:17,210 And this lecture, we will use our helpful notes. 2 00:00:17,420 --> 00:00:22,880 Let's build our project, plus gambled with ze capital and be. 3 00:00:23,570 --> 00:00:25,800 Deaf and itself self-taught. 4 00:00:25,970 --> 00:00:28,190 Game board one and two. 5 00:00:28,190 --> 00:00:28,700 And three. 6 00:00:28,700 --> 00:00:29,210 And four. 7 00:00:29,270 --> 00:00:29,840 And five. 8 00:00:29,870 --> 00:00:30,410 And six. 9 00:00:30,440 --> 00:00:30,980 And seven. 10 00:00:30,980 --> 00:00:31,430 And eight. 11 00:00:31,460 --> 00:00:32,000 And nine. 12 00:00:32,430 --> 00:00:35,240 The gameboard places definition set items. 13 00:00:35,870 --> 00:00:43,880 We will define the thit items self and the user and the position and the gameboard gameboard position. 14 00:00:44,810 --> 00:00:45,600 Equal user. 15 00:00:46,650 --> 00:00:54,500 Tend the gameboard, create a decorator ad property for the gameboard, function with these small and 16 00:00:54,500 --> 00:00:55,220 B Cavitat. 17 00:00:55,490 --> 00:00:57,830 This is a function called the game board. 18 00:00:59,200 --> 00:01:05,050 With the capital footboard to add Sivir itself, innocence for the gameboard. 19 00:01:06,380 --> 00:01:07,940 Property Admiral Roberti. 20 00:01:09,550 --> 00:01:18,490 D.F. bought gameboard, self returned, self taught gameboard had another function called Leopold, 21 00:01:19,180 --> 00:01:31,570 the F clear, bold, self, self-taught gameboard and dictionary of contain one and a value to add values 22 00:01:31,810 --> 00:01:33,640 and their value for and value. 23 00:01:34,010 --> 00:01:36,220 Five and a value six. 24 00:01:36,250 --> 00:01:37,510 And a value seven. 25 00:01:37,540 --> 00:01:38,760 And the value it. 26 00:01:38,800 --> 00:01:39,490 And the value. 27 00:01:40,810 --> 00:01:49,240 Nine and the value these values will edit by the game after the user and says his choice from number 28 00:01:49,240 --> 00:01:54,200 one to number nine, which is the places at the gameboard. 29 00:01:55,520 --> 00:02:05,150 D.F. is bidets taking cells and gameboard and index if gameboard index equal value return through. 30 00:02:07,260 --> 00:02:12,090 At another function called Is Boult Fool, D.F.. 31 00:02:13,120 --> 00:02:17,410 Is bored, the fool self and the game ball game under school board. 32 00:02:19,120 --> 00:02:21,640 For the index in range one to 10. 33 00:02:22,690 --> 00:02:31,060 If the gameboard index equal a value, none specific value or none determine value within falls, then 34 00:02:31,060 --> 00:02:33,240 return, if true, for the function. 35 00:02:34,650 --> 00:02:37,040 Add on as a function code is game one. 36 00:02:38,030 --> 00:02:47,690 D.F. is Game one self and the game board for wind conditions equal eight, your buzz off city numbers, 37 00:02:47,930 --> 00:02:52,400 which are one and the two and three and four and five and six. 38 00:02:52,790 --> 00:02:54,230 Seven and eight and nine. 39 00:02:54,800 --> 00:03:04,460 One four seven two five eight three six nine one five a nine three five seven. 40 00:03:04,700 --> 00:03:07,430 Which is the basis for Brayer to win. 41 00:03:08,430 --> 00:03:09,810 To choose to one. 42 00:03:11,110 --> 00:03:13,930 For one condition, in one conditions. 43 00:03:15,000 --> 00:03:21,360 This is a follow if game will underscore bold win conditions, zero equal. 44 00:03:22,570 --> 00:03:32,500 Gameboard one, condition one and win a game board, win condition one, heck well game bold wind condition 45 00:03:32,540 --> 00:03:33,670 to end the game. 46 00:03:33,850 --> 00:03:36,850 Both win conditions zeal equal. 47 00:03:37,850 --> 00:03:41,740 An undetermined value retain through. 48 00:03:43,230 --> 00:03:50,220 At another function to Brent out the gameboard, contain his statement to control the game floor and 49 00:03:50,220 --> 00:03:50,930 the board. 50 00:03:52,160 --> 00:03:55,120 D.F. Bryant bought. 51 00:03:56,150 --> 00:03:59,280 Self and the game under scoreboard index. 52 00:03:59,480 --> 00:04:08,570 Equal zeal for row in range, one to four, which are zeroes of the ball from one to four for column 53 00:04:08,590 --> 00:04:10,460 and range from one to four. 54 00:04:11,770 --> 00:04:17,220 The column of our board gameboard index plus one. 55 00:04:18,300 --> 00:04:21,670 F column not equals three grand. 56 00:04:21,960 --> 00:04:24,170 Game on the scoreboard index. 57 00:04:24,390 --> 00:04:28,080 And in equal, none determine the value. 58 00:04:29,160 --> 00:04:36,680 Brent, this value and in will not determine the value health Brent game on the scoreboard. 59 00:04:37,830 --> 00:04:40,380 And create a second class called. 60 00:04:41,460 --> 00:04:44,520 Game to control the games thought and the game end. 61 00:04:44,850 --> 00:04:46,970 And US players leave. 62 00:04:47,660 --> 00:04:55,890 So the game last contain four functions that control the games, gives class name plus game. 63 00:04:57,760 --> 00:04:59,800 The first function is games thought. 64 00:05:01,230 --> 00:05:09,060 If the game star game underscored to start with self innocence, self-doubt control board, equal game 65 00:05:09,140 --> 00:05:09,810 board. 66 00:05:10,660 --> 00:05:11,170 With. 67 00:05:12,690 --> 00:05:18,420 G Capitán selfie, that game under Kobold equals self control board. 68 00:05:18,490 --> 00:05:27,000 Good gameboard, self-taught player one Oh Self Belayer two X brand. 69 00:05:28,260 --> 00:05:31,200 Welcome to X all game brain. 70 00:05:32,240 --> 00:05:35,360 Please enter Blair one's name, self. 71 00:05:35,440 --> 00:05:37,980 Dot Blair won equal in both. 72 00:05:38,850 --> 00:05:46,270 It's a string of two values between them, zero zero zero a column also for Blair two. 73 00:05:46,890 --> 00:05:53,610 That is Imbo aimbot of strain contained two values with the akolo between the. 74 00:05:56,280 --> 00:05:59,070 Self-doubt Control Board DOT Brand. 75 00:05:59,200 --> 00:06:07,860 Board sales for the game board game under scoreboard self adopted one will give our players. 76 00:06:09,040 --> 00:06:09,500 110. 77 00:06:09,610 --> 00:06:11,170 Only every round. 78 00:06:11,410 --> 00:06:12,310 110 on. 79 00:06:14,330 --> 00:06:18,160 D.F. Game underscore in self. 80 00:06:18,680 --> 00:06:28,010 If the game itself does give running equal, foltz play equal ambushed zeal to quiet and one to play 81 00:06:28,040 --> 00:06:30,680 again column and value. 82 00:06:31,850 --> 00:06:34,810 Try if and replay. 83 00:06:36,110 --> 00:06:43,480 Self-taught kolo, self-taught game running equal to self-taught games taught will start again. 84 00:06:45,500 --> 00:06:47,110 Well, call to start again. 85 00:06:48,310 --> 00:06:49,330 To start the game, Maggie. 86 00:06:51,200 --> 00:06:54,650 Except Brent, a number must be entered. 87 00:06:54,930 --> 00:07:00,680 If if the user or players enter our word or symbol or anything. 88 00:07:01,220 --> 00:07:02,390 Not zero or one. 89 00:07:02,480 --> 00:07:05,360 The message will pop up, contain the following strings. 90 00:07:05,450 --> 00:07:06,700 A number must be entered. 91 00:07:06,740 --> 00:07:09,390 Silverdome gave in Helfgot game. 92 00:07:09,750 --> 00:07:10,100 Yes. 93 00:07:10,940 --> 00:07:12,320 Take their cell. 94 00:07:13,340 --> 00:07:14,540 And use it on the item. 95 00:07:14,810 --> 00:07:15,830 Brent user. 96 00:07:16,280 --> 00:07:19,190 And choose at least one two nine. 97 00:07:19,370 --> 00:07:24,500 Try position equal and able to string the values between them. 98 00:07:24,580 --> 00:07:25,760 A column f. 99 00:07:26,740 --> 00:07:36,490 Position more than nine or position less than one race, except Brent Baker, number between one and 100 00:07:36,500 --> 00:07:37,480 nine right there. 101 00:07:37,890 --> 00:07:42,250 Self-taught self-doubt, their user item. 102 00:07:44,790 --> 00:07:51,980 Itself, self control board is Blaze taking selfie, the game under Cobalt and the position. 103 00:07:53,070 --> 00:07:55,310 Print that blaze is ticking. 104 00:07:56,130 --> 00:08:01,080 If the players choose a number chosen by the other player. 105 00:08:02,280 --> 00:08:04,040 This message will pop up. 106 00:08:04,800 --> 00:08:15,600 That belief is taking self-doubt to the user and item as self control board got set items item and the 107 00:08:15,600 --> 00:08:22,350 position and self gameboard self-doubt control board, dot brain board, self-doubt gameboard. 108 00:08:22,650 --> 00:08:28,350 If Self Control Board is game one self-taught game underscored both. 109 00:08:29,320 --> 00:08:41,680 Brent user and Wendt's self, the game running equal votes will stop the game after one player of the 110 00:08:41,680 --> 00:08:43,420 two players one. 111 00:08:44,420 --> 00:08:44,700 Yeah. 112 00:08:46,020 --> 00:08:48,840 Main self game manager. 113 00:08:50,700 --> 00:08:59,100 Self-taught game underscore running equal to self-taught games taught game well restart while self-taught 114 00:08:59,100 --> 00:08:59,790 game running. 115 00:09:00,180 --> 00:09:09,810 If self-taught, tell Madugalle to not equal zero self-taught Tector, self-taught Belayer and all else 116 00:09:10,050 --> 00:09:15,170 Salvado take their self got belayer two and X. 117 00:09:16,020 --> 00:09:23,700 So if the player to choose a value from one to nine which is owed the value of choosing number. 118 00:09:24,730 --> 00:09:26,330 Well gave. 119 00:09:26,510 --> 00:09:29,500 Oh, and Ford's other belayer. 120 00:09:30,570 --> 00:09:36,110 The result will be acts of self control board is board. 121 00:09:37,210 --> 00:09:37,620 Paul. 122 00:09:39,200 --> 00:09:41,790 Self-taught game on the scoreboard. 123 00:09:44,590 --> 00:09:48,150 Brent Cedro, buboes lose. 124 00:09:50,600 --> 00:09:52,560 A good game running it well. 125 00:09:54,980 --> 00:09:58,380 For the 10 plus equal one. 126 00:09:59,900 --> 00:10:06,180 If not self-taught game running, sell that game under a score. 127 00:10:06,830 --> 00:10:13,380 So they will choose to restart the game or end the game at tight. 128 00:10:16,190 --> 00:10:19,230 At Finance, we will create the game lunch. 129 00:10:19,610 --> 00:10:28,340 If double under name and double under score, equal equal between Prentice's two, but that is double 130 00:10:28,370 --> 00:10:33,110 under a school mean double under a school game. 131 00:10:33,620 --> 00:10:35,720 Having parenthesis close parenthesis. 132 00:10:36,440 --> 00:10:37,610 Not mean of. 133 00:10:37,850 --> 00:10:39,340 This is close parentheses. 134 00:10:40,040 --> 00:10:42,170 So let's say we run the game. 135 00:10:42,880 --> 00:10:47,030 The player one's name for sawbones is Sara. 136 00:10:54,620 --> 00:10:55,190 And John. 137 00:10:56,630 --> 00:10:58,490 For the second place. 138 00:11:00,720 --> 00:11:03,350 So to choose one, two, nine, one. 139 00:11:04,710 --> 00:11:09,950 Zone two is also one that Blaze is taking. 140 00:11:10,630 --> 00:11:18,030 That is the BOVER message which clarifies that the Zebley is a player. 141 00:11:18,030 --> 00:11:22,670 One, take this position so as a player to zone Schoettle. 142 00:11:22,920 --> 00:11:24,390 So take another. 143 00:11:25,740 --> 00:11:28,440 Another number from one to nine. 144 00:11:28,920 --> 00:11:32,070 Not chosen by player one to. 145 00:11:33,410 --> 00:11:33,980 Three. 146 00:11:34,550 --> 00:11:35,020 Sara. 147 00:11:35,480 --> 00:11:37,870 June four, Sara, five. 148 00:11:38,630 --> 00:11:39,500 June six. 149 00:11:39,770 --> 00:11:41,000 Sara seven. 150 00:11:41,300 --> 00:11:41,700 So. 151 00:11:42,020 --> 00:11:43,010 So Sara wins. 152 00:11:44,340 --> 00:11:46,550 Zero to quiet or one to again. 153 00:11:48,360 --> 00:11:48,810 Zero. 154 00:11:49,620 --> 00:11:54,750 The game is quiet and we acquired the game and the game is end. 155 00:11:55,260 --> 00:11:58,040 Thank you for watching Rachel conclusion. 156 00:11:58,530 --> 00:12:01,350 As the last sell after conclusion. 157 00:12:01,610 --> 00:12:03,660 Walt, thank you for watching. 158 00:12:03,690 --> 00:12:05,130 See you next lecture. 159 00:12:05,430 --> 00:12:05,970 Bye bye. 160 00:12:06,570 --> 00:12:08,010 Hope you enjoyed this course. 161 00:12:08,790 --> 00:12:09,390 See you. 162 00:12:09,480 --> 00:12:09,840 Bye.