Random Letter generator
|
|||
|
Rank: ? (5)
Member #: 28527 |
Hey guys im trying to put together a programme to help people with Dyslexia/ADHD to read.
Im trying to generate a random letter.... is this possible? Im try to generate a a random int and convert it to a corresponding char, but im not having the greatest luck... Any suggestions?? any help will be greatly appreciated!! and will not go un-thanked!! Ps the programme will be free, and available to all, im not trying to profit here... » Post edited 2006-11-17, 02:43pm by iM_STRUGGLING.
|
||
|
|||
|
|||
|
Rank: ? (134)
Member #: 28863 |
What do you mean. Just generate a sieres of random letters
i.e hdsofisnd or letters in a word i.e woerd convert numbers to letters??? all can be done relativly easily.... |
||
|
|||
|
|||
|
Rank: ? (134)
Member #: 28863 |
also does it have to be in java?
|
||
|
|||
|
|||
|
Rank: ? (5)
Member #: 28527 |
ok, sorry i wasnt all to descriptive
I can generate a single random number... How does one generate a single char?? from a-z I was thinking , if a random char cant be directly generated, then i could generate a random number within a set range, and wrap it to a char, which would be between the range of a-z... So to conclude , how do i generate a random char?? thanks!! and im only just finishing the fundamentals of JAVA, so yes it needs to be in java... plus it would be great to post this on my ADD/Dyslexia site, as an applet... |
||
|
|||
|
|||
|
Rank: ? (134)
Member #: 28863 |
Code:
This will we snipprt will generate random character between A - Z If you want to generate a random string of char then you would need something along the lines of.... Code:
Hope this is along the lines of what you are looking for. You will obviously need to change certain things to fit in with what you want. Ho-pe this was of help to you. One last question. How will generating random letters help people with Dyslexia. Would it not be better to randomly geneate words from a pre defined dictionary? |
||
|
|||
|
|||
|
Rank: ? (5)
Member #: 28527 |
Thanks heaps gordonmcmenemy!!
My first program will , just flash 4 random numbers for a set period of time, into 4 corners of a GUI, 1 number per time... Then the numbers have to be added up, and entered into a text field, for checking. The value of the numbers shown increases, and the time they are displayed decreases, as game goes on... Eye tracking is what makes reading difficult for AD/HD and Dyslexics.... so this gives them a personal benchmark, to be improved apon.... Ive started a blog for people who are wanting to take an active practical approach to beating the negatives of ADD, ADHD and Dyslexia... http://add-icanfocusnow.blogspot.com I hope this program will inspire , others to do the same... Thanks very much for your help!! |
||
|
|||
|
|||
|
Rank: ? (134)
Member #: 28863 |
I am always glad to be of help to a good cause(and thanks for the explination on eye tracking, i did wander).
If you have any other problems drop me an e-mail gordonmcmenemy@googlemail.com |
||
|
Please login or register to post a reply.