I’m looking to choose randomly the very first slot on my chess board matrix to start off the calculation for possible placements of chess pieces. Is there a way of freezing the outcome of Math.floor(Math.random()*board.size)?
Thank you in advance!
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
I’m looking to choose randomly the very first slot on my chess board matrix to start off the calculation for possible placements of chess pieces. Is there a way of freezing the outcome of Math.floor(Math.random()*board.size)?
Thank you in advance!