Make your own free website on Tripod.com
SWAT My Welcome Of Doom to you!!!
 

 

Javascript

Actionscript Blog
 

<script>
//Loaded Dice
//David Fang, 10/07
var roll;
var roll2;
var roll3;
roll = Math.floor(Math.random() *3) +1;
if(roll=1)
{
alert("you rolled a 1");
}
else
{
roll2 = Math.floor(Math.random() *6) +2;
alert("You rolled a " + roll2 + ".");
}
{
roll3 = Math.floor(Math.random() *5) +3;
alert("you rolled a " +roll3 + ".");
}
</script>

 

 

Links

1. SLHS

2. SLHSXC

3. JMMS

Contact me

Class links

Computer Science

Five Classmates

1. Julio Maravilla

2. Norman Duong

3. Huy Vo

4. Titus Green

5. Jack Li

Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Miscellaneous
 
Home Product Contact order