My name's Vesa Qerimi,I'm a student in the University of Prishtina,Kosovo.I'm studying Computer Science and this is my first year.Yesterday our assistant gave us some programming projects, we have to finish them and after finishing them he will grade us.
I wanted to find people who could help me because I am on my own and I don't know any expert in this field.
So I will post you my project and I will wait for you ideas and codes.
Thank you very much for your understating.
P.S(We didn't learn anything about arrays so this code should be as simple as possible)
1.
Write a program that lets two players play a game of tic-tac-toe (noughts and
crosses). (Hint: the model simulates the game board, whose internal state
can be represented by three strings, representing the three rows of the board.
Write methods that can insert a move into the board and check for three-in-
a-row. (Note: use the charAt and substring methods for strings; see Table 9,
Chapter 3 for details about substring.)
It is simplest to build the game for only one player at first; then add a second
player. Next, revise the game so that the computer can compete against a
human player.