User blog:IAmAPersson/SimpleC tutorial - randomized integers, Minecraft DS general news

Ok, guys! SimpleC randomized integers! One of the harder commands in the game. SYNTAX TIME!!! Woah woah woah! Thats a lot harder than in SmileBASIC! What does all this stuff do? It does more than SmileBASIC can without an algorithm, thats for sure. PUSH is a "seed." If you do PUSH(NULL) then the number will be completely random. Doing PUSH(MORE) will make the number be more likely to be higher. Let me explain. If I make a randomized number up to 100 and PUSH(NULL) and store in VAR[X] doing Then theres a 50% chance of the number being 50 or less, and a 50% chance of it being 51 or higher. If I did PUSH(MORE) Then theres a 25% chance of it being 50 or less, and a 75% chance of it being 51 or higher. If I did PUSH(LESS) Then theres a 75% chance of it being 50 or less, and a 25% chance of it being 51 or more. NOTE THIS - If I want to do a 2 digit number in the RAND statement, like MAX[50], then I actually have to do MAX[050]. This is due to a minor bug in the RAND statement. To do a 1 digit number, I'd have to do MAX[005] instead of MAX[5].

That's it for SimpleC today!

General Minecraft DS news. If you've noticed, the updates for Minecraft DS have been HUGE lately, and resemble the real Minecraft VERY much. These are "preparing" updates. I'm preparing for Beta 2.0 development, AKA survival. Minecraft DS Beta 1.8 will be terrain generator, and interactive blocks. These are all essential things to survival. Slimes. Terrain. Layers. All foreshadowing what will come in the not-so-distant future.