i am working on a game " five in a row". i need some help as i am facing some problems while placing the balls on the board randomly.
any kind of help will be appreciated!!
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sam HobbsPosted Apr 22, 2011, 6:10 PM
FroglegPosted Apr 22, 2011, 4:32 PM
Random random = new Random();
int i = random.Next(min,max);
where min is lowest and max is highest in your case (0,9)
Jonathas SucupiraPosted Apr 22, 2011, 4:30 PM
ProgrammerPosted Apr 22, 2011, 3:39 PM
FroglegPosted Apr 22, 2011, 4:09 AM
Is it the game where you have a grid, and buttons around the outside of that grid that you pick jewels from ?