This site requires JavaScript, please enable it in your browser!
Greenfoot back
ConorK
ConorK wrote ...

2021/3/10

How do I randomize placement of answers?

ConorK ConorK

2021/3/10

#
I am making a math game where I need to randomize the placement of the answers on a multiple choice. I don't want all the correct answers to be on a single box, and I want to create the problems and answers randomly.
danpost danpost

2021/3/10

#
ConorK wrote...
I am making a math game where I need to randomize the placement of the answers on a multiple choice. I don't want all the correct answers to be on a single box, and I want to create the problems and answers randomly.
Save true answer object in field. Shuffle answers and display them. Compare picked object with saved object to check for correctness.
You need to login to post a reply.