Cowboys, Ballerinas and Math -
04-18-2010, 10:56 PM
Hello, I'm pretty new to the community, but i really need some help with a project.
I'm doing a multiplication math game, two cowboys challenge each other to a showdown and the "good" cowboy wins because he gets the correct answer for a multiplication problem, or loses if he gets it wrong. Same with the ballerina, she jumps, spins and moves around whenever she gets a right answer, and stays in place or falls if she gets it wrong.
The thing i need help on is storing the number that can be accessed for said multiplication problems. It is basic time tables (the game is for 6yr olds+) so i need to store the numbers 1 through 10 and have alice access them randomly. 1 problem could be 3X2, the next problem could be 5X4, etc. I was wondering what is it that i have to do to achieve something like that? I already know i can ask input from the player, i just wanna know how to set up the numbers so they can be accessed and placed together in a multiplication problem.
Thank you.
|