The code below is what i will use to randlomly pick a number 0 to 3...those numbers represent north, south, east or west inside the switch statement. for north i would subtract 30 from y and for east i would add 30 to x and so on. This is on a grid in an
applet just so you know. i have a dot that moves north, south, east or west by 30 pixels which is the width of a square. how would i write the incrementing and decrementing in a switch statement? any ideas?