Hi, you've done a great job working on the assignments and the assessment, I hope you got good grades.
Now it's time to implement five project.
This is the time when you would actually get a view of how you would implement long lines of code using
Biton.
It might feel a little difficult at the beginning and the problem might seem to be difficult.
But once you start implementing it, you will see how easy everything goes.
The first key to write a long piece of code is to begin with smaller chunks.
So that is what you would be doing here.
You will be working on our very first project, which is the Vitan project.
And in this particular project you will be creating a tic tac toe game.
This is the game which you will be voting on here.
We will have two requirements.
The first requirement would be that two players should be able to play the game and both should be sitting
at the same computer.
Secondly, the board should be printed out every time a player makes a move and you should be able to
accept the input of the player position and then place a symbol on the board.
So you can feel free to use Google to help you figure out anything but don't who will take that to inviting
that?
Because if you do that, you will lose out on the lawn.
So look, on this entire project on your own, it might take as long as a few hours to a few days.
That is no time limit.
There is no restriction on how long you take to write the code.
The main objective here is that you are able to formulate the logics at your.
So go ahead and start writing your project on your own without referring to any solution books.
We have provided the solution with books to.
The full solution, Wolf, is a very quick implementation of the fact that you can just have a glance
of what we have created.
And finally, once you have created your own implementation, then you might go and have a look at our
work through instrumentation so that you can compare what changes you could have done in your.
But the main point here is don't look at the code in the very beginning.
Otherwise you will lose out on the learning.
And what is our objective here?
You want to learn a lot.
So please go ahead and write a code for tic tac toe and see how it goes.
Here you can see what I have implemented, so I have created a game, I'm here it is asking me if I
want to quit or not, and it is asking me to please a number here.
And I have given an option to please point from index one to nine.
You can keep it zero to eight.
So I'm putting it up to.
And it brings up this for me.
So it asks me to put into a number, so I have entered number three and it has placed the symbol actually
next it against me, so I entered seven to seven and it has placed an X, so it will keep asking me
and it will keep evaluating the conditions and based on the conditions, it will place this X and details
and we will define a winning condition that is maybe if that is this combination of values coming up
or this combination of values coming up, Wattyl or combinations of the indexes which will make someone
to win the game.
So we will provide that.
And once one of the conditions up there, then the user would given the game.
So this is something which would give you an idea of what you need to implement.
So all the best for your project.