Alice Community Creating a multiplication game.

 Creating a multiplication game.
 choppa1890 Guest   Status: Posts: n/a Creating a multiplication game. - 04-19-2010, 12: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.
 jediaction Senior Member     Status: Offline Posts: 5,064 Join Date: Jul 2009 Location: Bel Air, Maryland 04-19-2010, 01:23 PM Im kinda confused, can you post your project and mabye i can help? Website: www.salokingames.com FaceBook: www.facebook.com/SalokinGames
 choppa1890 Guest   Status: Posts: n/a 04-19-2010, 04:36 PM i will in a few minutes. I will also try to explain what i wanted to do.
 dubastot Senior Member     Status: Offline Posts: 661 Join Date: Apr 2009 Location: Two Steps From Hell 04-19-2010, 05:43 PM You can use a number variable for that. I'm a web developer/ designer now.
dubastot
Senior Member

Status: Offline
Posts: 661
Join Date: Apr 2009
Location: Two Steps From Hell
04-19-2010, 05:47 PM

Here is an example of it:
Attached Files
 Example.a2w (165.8 KB, 30 views)

I'm a web developer/ designer now.

 jediaction Senior Member     Status: Offline Posts: 5,064 Join Date: Jul 2009 Location: Bel Air, Maryland 04-19-2010, 06:39 PM Exaclty. You can just edit off of his or just copy what he did but remember what he did and you should be able to make a game with this Website: www.salokingames.com FaceBook: www.facebook.com/SalokinGames Last edited by jediaction; 04-19-2010 at 07:07 PM.
 choppa1890 Guest   Status: Posts: n/a 04-19-2010, 06:57 PM exactly like he did, basically says right or wrong and afterwards the cowboy shoots or falls down. Thank you so much for the information, i assume i go to properties and set the new number variable. Well that is a lot of help! Thank you so much.
 jediaction Senior Member     Status: Offline Posts: 5,064 Join Date: Jul 2009 Location: Bel Air, Maryland 04-19-2010, 07:08 PM your welcome Website: www.salokingames.com FaceBook: www.facebook.com/SalokinGames
 dubastot Senior Member     Status: Offline Posts: 661 Join Date: Apr 2009 Location: Two Steps From Hell 04-20-2010, 08:40 PM He was saying that to me jedi. You didn't make the example. You are very welcome choppa. I'm a web developer/ designer now. Last edited by dubastot; 04-20-2010 at 09:39 PM.
 jediaction Senior Member     Status: Offline Posts: 5,064 Join Date: Jul 2009 Location: Bel Air, Maryland 04-20-2010, 09:02 PM Ok sorry, i was confused. Website: www.salokingames.com FaceBook: www.facebook.com/SalokinGames

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Announcements     Community News and Announcements Alice 3     How Do I?     Works In Progress     Share Your World     Share Custom Classes     Bugs and Trouble Shooting     Suggestion Box Alice 2     How do I...?     Works-In-Progress     Share Worlds     Share Objects     Bugs and Troubleshooting     Suggestion Box Educators     Teaching with Alice     Teaching Using Alice 3     Teaching Using Alice 2     CS Principles and Alice     AP CSA and Intro to Java and Alice     Workshops General Discussion     Questions and Comments     The Lounge