WEBVTT

00:01.530 --> 00:10.250
Hi, you've done a great job working on the assignments and the assessment, I hope you got good grades.

00:11.220 --> 00:14.100
Now it's time to implement five project.

00:14.790 --> 00:23.130
This is the time when you would actually get a view of how you would implement long lines of code using

00:23.130 --> 00:23.580
Biton.

00:24.450 --> 00:29.880
It might feel a little difficult at the beginning and the problem might seem to be difficult.

00:30.600 --> 00:37.080
But once you start implementing it, you will see how easy everything goes.

00:38.190 --> 00:45.440
The first key to write a long piece of code is to begin with smaller chunks.

00:46.320 --> 00:48.570
So that is what you would be doing here.

00:49.500 --> 00:54.510
You will be working on our very first project, which is the Vitan project.

00:55.140 --> 00:59.790
And in this particular project you will be creating a tic tac toe game.

01:02.230 --> 01:05.480
This is the game which you will be voting on here.

01:05.950 --> 01:07.710
We will have two requirements.

01:08.590 --> 01:15.580
The first requirement would be that two players should be able to play the game and both should be sitting

01:15.580 --> 01:17.050
at the same computer.

01:18.550 --> 01:25.960
Secondly, the board should be printed out every time a player makes a move and you should be able to

01:25.960 --> 01:30.750
accept the input of the player position and then place a symbol on the board.

01:32.190 --> 01:40.800
So you can feel free to use Google to help you figure out anything but don't who will take that to inviting

01:40.800 --> 01:41.010
that?

01:41.790 --> 01:44.940
Because if you do that, you will lose out on the lawn.

01:45.870 --> 01:55.160
So look, on this entire project on your own, it might take as long as a few hours to a few days.

01:56.040 --> 01:57.590
That is no time limit.

01:58.170 --> 02:02.080
There is no restriction on how long you take to write the code.

02:02.790 --> 02:08.490
The main objective here is that you are able to formulate the logics at your.

02:10.730 --> 02:18.980
So go ahead and start writing your project on your own without referring to any solution books.

02:20.120 --> 02:23.060
We have provided the solution with books to.

02:24.010 --> 02:32.200
The full solution, Wolf, is a very quick implementation of the fact that you can just have a glance

02:32.380 --> 02:34.120
of what we have created.

02:35.040 --> 02:44.460
And finally, once you have created your own implementation, then you might go and have a look at our

02:44.730 --> 02:51.330
work through instrumentation so that you can compare what changes you could have done in your.

02:52.590 --> 02:57.870
But the main point here is don't look at the code in the very beginning.

02:57.880 --> 03:00.750
Otherwise you will lose out on the learning.

03:01.440 --> 03:03.450
And what is our objective here?

03:03.650 --> 03:05.260
You want to learn a lot.

03:05.670 --> 03:12.840
So please go ahead and write a code for tic tac toe and see how it goes.

03:16.220 --> 03:24.680
Here you can see what I have implemented, so I have created a game, I'm here it is asking me if I

03:24.680 --> 03:29.590
want to quit or not, and it is asking me to please a number here.

03:30.130 --> 03:35.340
And I have given an option to please point from index one to nine.

03:35.540 --> 03:37.610
You can keep it zero to eight.

03:38.480 --> 03:40.040
So I'm putting it up to.

03:41.870 --> 03:43.630
And it brings up this for me.

03:45.600 --> 03:53.970
So it asks me to put into a number, so I have entered number three and it has placed the symbol actually

03:54.540 --> 04:03.060
next it against me, so I entered seven to seven and it has placed an X, so it will keep asking me

04:03.060 --> 04:11.190
and it will keep evaluating the conditions and based on the conditions, it will place this X and details

04:11.820 --> 04:19.320
and we will define a winning condition that is maybe if that is this combination of values coming up

04:19.530 --> 04:26.310
or this combination of values coming up, Wattyl or combinations of the indexes which will make someone

04:26.310 --> 04:27.550
to win the game.

04:27.840 --> 04:29.210
So we will provide that.

04:29.220 --> 04:33.580
And once one of the conditions up there, then the user would given the game.

04:33.930 --> 04:38.140
So this is something which would give you an idea of what you need to implement.

04:38.490 --> 04:40.650
So all the best for your project.
