dimanche 22 mai 2016

get random char in a specific range in java

Am designing wumpus hunting program using java. Where i can include three gold, 3 pits, one wumpus, one player. and the position of the game item should be random generator.How to generate random characters in 2d array . How to specify the range for the characters in java. Thanks.




Aucun commentaire:

Enregistrer un commentaire