My project entails that I create a basic number guessing game that uses the JOptionPane and does not use Math.Random to create the random value. How would you go about doing this? I’ve completed everything except the random number generator. Thanks!
Share
Here the code for a Simple random generator:
The code above is a “Linear congruential generator (LCG)”, you can find a good description of how it works here.
Disclamer: