A java beginner needs a lot of help and ideas
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)
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
Re: A java beginner needs a lot of help and ideas
I suggest you post something you have started, because without it no one is going to do it for you. You mentioned arrays, and the Sun java tutorials are a great place to start
Arrays (The Java™ Tutorials > Learning the Java Language > Language Basics)