Computer-controlled movements, or the so-called Artificial Intelligence (AI) , are sometimes very hard to create. But for a start, we will keep it very simple. And simple will be the key here. Our computer-controlled movement will look like this. One paddle will move with a speed of 10 pixels up and down, the other with a speed of 5 pixels in the opposite direction.
FORloop for this, so we don't have to repeat the code. Remember that arrays in Monkey are zero-based.
For Local ep:Int = 0 to 1 eY[ep] += edY[ep] 'Update the ...