Hey everyone.
So don't.
The boat also known the next step is the availability of free space is a space is free or not.
So for that also we need to define functions here.
Because again we didn't know where to edit them.
So we will define functions like space is free.
And that one is for when space is free.
And we will require a barometer that is again the position because the space will be free for a particular
position.
And in that case it will just return that the space is free.
On that particular position that is board position.
And this will be an empty string at that point.
So it will be done through.
So remember this thing that when the space is free the function is returning true.
And we are going to need that particular value.
That is the true here.
So this one is for when this space is free.
And now what about when space is not free.
So we also need to define that one.
So for a little time just closed these functions and there we go.
Now they define this one after these because in starting let we have only these main functions that
is defined for devoting.
This is done is also required.
But this one is just for like my space is not free.
So this function is something like we named this one.
Like is board full and make this also.
And this is not so so that it will properly define the.
Different words.
So is board full.
And then again we will lend a parameter.
But in this case we just need the board because the board is going to be filled.
And then if
a board and naval user attribute that is kind empty string created then.
But in that case return false.
Let me do this and first and I will explain you.
That also defaults on boolean then a device
return true.
So here what I have done I have taken in the name that is is board full with the parameter board and
in the case then board don't count of empty strings.
This can function is used to count that particular value.
And that what we are counting here the empty strings when that empty strings are greater then but what
that means.
That means there is some space in that particular board like head discount will be five so here we have
the value five that is greater than one which means that we have vacant space.
So in that case for this particular function this function is checking whether the board is full or
not.
So here the board is not full.
So it will return false.
Otherwise in all cases it will return true.
So that's about the freeze and not fully.
So we have also checked this space is the space is free or not free.
Now what about the veena that how we can check diviner.
So as I have told you go with maybe this video but this one is a little task for you tried to find out
how we can check that who is winner for a tic tac toe and see in the next video the dissolution of this
one.