Thank you man. But there is some problems, i dont have an android phone, I'm using iPhone, but i already discoveres Xcode (uses swift language) which is a good program for writing games and applications for iOS.
This XO game is need to be in pascal, because it's a homework and the teacher asked us to write in Pascal, using crt and stuff.
In freepascal the method worked with crt too, but I wanted to change to a better program to write in Pascal, because for me the FreePascal is very old fashioned. (Before that i used Codeblocks).
I saw that post is answered but i cant understand that. (i downloaded Lazarus yesterday).
~copY