Store values in library

@MorganS, that was a copied/borrowed example.

without having to declare all a bunch of ints in the part about void setup each time you want to use the library.

I hope you don't mean that you want to store runtime variables in the library itself, for use in the future?

What I want to do is made a fuction like rectangel.setWidth(8); and it stores the width in the library, this way a few minutes later you could enter rectangel.setHeight(9); and it will store the value of height. Then a few minutes later you could call rectangel.findAreaOfInfromationStored() and it will return the information you are requesting

If I understand you correctly, this is already done in that Rectangle class. (Not a 'library', but a class. A 'library' is a file or group of files.)
You call 'setWidth()' and the class stores the width.
You call 'setHeight()' and the class stores the height.
You call 'area()' and it returns the calculated area.

So you create a rectangle_t object:-rectangle_t myRect(12,24);
Then you can change the width and/or height:-

myRect.setWidth(10);
myRect.setHeight(20);

Then if you want to know the calculated area:-int myRectArea = myRect.area();
You could also, (if you were writing or modifying that class), create public member functions that could access the class's private '_width' and '_height' member variables. You'd use them like this:-

int myRectWidth = myRect.getWidth();
int myRectHeight = myRect.getHeight();

Is this what you mean? If not, you'll need to explain what you want a bit more clearly.

Especially these from your opening post:-

Serial.print(tick.value(1)); which the one would accept numbers 1 to 9 which would save the value in the library

So you want to call the 'tick' class's 'value()' function with a value from 1 to 9. I understand that bit.

the library would respond back the X | 0 | 0 format of tic tac toe with the move you made and the move that it countered

Can you give an example of exactly what the 'value()' function needs to return?