posted 21 years ago
Your line of code:
character = (char)(Math.random()*26);
should read:
character = (char)(Math.random()*26) + 65;
Reason:
ASCII capital characters start with 65 ('A' = 65, not 'A' = 0) What you were displaying on your screen were mostly NPCs --> 0 through CTRL-Y
Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.