Random text postion : No collision
in
Programming Questions
•
2 years ago
Hi there,
I'm working on a project that is this :
Take a string in a text file -> I know how to do that
Show the text on the screen at a random position -> and that too
This is very simple, but what I can't do, is to be sure the new string will never be on a older one ! Do you have any idea of what I have to study in order to do that ? Or do you have any source code in order to get inspiration ?
Right now, i'm just working on the idea, I don't wrote any code...
Thanks !!
(Sorry for my english)
I'm working on a project that is this :
Take a string in a text file -> I know how to do that
Show the text on the screen at a random position -> and that too
This is very simple, but what I can't do, is to be sure the new string will never be on a older one ! Do you have any idea of what I have to study in order to do that ? Or do you have any source code in order to get inspiration ?
Right now, i'm just working on the idea, I don't wrote any code...
Thanks !!
(Sorry for my english)
1