Alice Community Math Problems/Start Up screen

 Math Problems/Start Up screen
 T3k Guest   Status: Posts: n/a Math Problems/Start Up screen - 04-08-2009, 03:45 PM How can I call math problems from a random number generator? Also, How can I have start up screen where you can click start or instructions? Thanks in Advance!
 draikon3 Guest   Status: Posts: n/a 04-09-2009, 08:52 AM you could make an instructions thing by using a billboard. as for making a random number math generator, it would be extremely hard to make...mostly because for as long as i've seen alice, i've never seen a plus minus multiply or divide function anywhere. you would have to program them all yourself (very time consuming)
DrJim
Guest

Status:
Posts: n/a
04-09-2009, 11:54 AM

Quote:
 Originally Posted by draikon3 i've never seen a plus minus multiply or divide function anywhere...
You have to use the drop down math option for setting values. Slightly cumbersome, but not too bad, and you can get fairly complex functions that way. I attached an example. It's very simple but I'm fairly sure you could set up a function with loops to do more complicated series expansions - and there are also the higher level "world" math functions available.
Attached Images
 Simple Math.jpg (17.0 KB, 56 views)
Attached Files
 Simple Math Functions.a2w (16.3 KB, 20 views)

 Scott300 Senior Member   Status: Offline Posts: 80 Join Date: Feb 2009 Location: Ohio 04-09-2009, 02:41 PM Ya, but the random number generator likes to NULL out when integers is on to, to solve this make it so if variable.randomnumber.world >= 0 and variable.randomnumber.world <= 1 { set world.int = 1 } else if variable.randomnumber.world >= 1 and variable.randomnumber.world <= { set world.int = 2 }
 DrJim Guest   Status: Posts: n/a 04-09-2009, 04:28 PM Preceeding post certainly true - hope Alice 3.0 supports integers. I thought the question was how to make a math problem, however, which was what I was trying to address.
 i would like to make a game following the next requirements ??
 alexbeltre Guest   Status: Posts: n/a i would like to make a game following the next requirements ?? - 04-26-2009, 01:24 PM Your animation must be interactive, and your game must make use of some of the events available in Alice. Your implementation must include at least 1 user-defined function, which makes use of parameters. At least 1 of these functions must be called twice, with different arguments. Your implementation must include user-defined method, which makes use of parameters. At least one of these methods must be used twice, with different arguments. Your implementation must make use of loop statements, and if statement. Finally, your implementation must make use of an array.

 Tags generator, math, number, problems, start

 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