Can someone tell me the code for randimizing 2 numbers in java,im wanting to do something a bit like this randimize 1 and 2 if (ranimize 1) boolean red = true; else boolean balck = faluse; but i just dont know how to randimize so could someone show me please.Thankyou
With your permission, GameDev.net uses analytics cookies to understand how people use the platform.
You can accept analytics or continue with necessary cookies only.
Learn more