Not saving input and updating.

Pages: 123
Dec 23, 2014 at 6:19pm
Just control because you cannot literally assign a string numbers
to an int unless you use something like atoi();
Last edited on Dec 23, 2014 at 6:26pm
Dec 23, 2014 at 7:12pm
All right, Now I've added a scoreboard.
Last edited on Dec 23, 2014 at 7:29pm
Dec 23, 2014 at 7:30pm
I going to take a break from this project. I would appreciate it if someone would look at the entire project and tell me what I could have done better.
Dec 27, 2014 at 1:40am
Judging by the way my program looks, I would really like to reduce the amount of if statements that I have. How do I incorporate a for loop that checks if tile doesn't have an X or O(In other words, check to see if the tile is valid).
Dec 27, 2014 at 1:49am
I was thinking of something like this.

pseudocode

1
2
3
4
5
6
7
8
9
10
11
12
for (int i = 0; i < rowSize; i++)
{
     if(if the tile is blank)
     {
          place letter
     }
    else
       output-This spot has been taken Try again.

      Ask the user to pick another spot
}
Last edited on Dec 27, 2014 at 1:51am
Topic archived. No new replies allowed.
Pages: 123