yea, lol, learn something beforeyou start programming
but likei always say dont post something unless its productive sooooooo *deep breath*
AI is atrifical intelegance, heres a simple pong game(untested):
` ball coords
ball_x# = 0
ball_y# = 0
` objects
load bitmap "ball.bmp",1
load bitmap "racketred.bmp",2
load bitmap "racketblue.bmp",3
` put the bitmaps in correct position with sprites, code here, i'm tired
hide mouse
do
` the mouse is the paddle
object position x 3 = mousex()
object position y 3 = mousey()
` ball collision
if object collision (1,2) then point object 1,object posion x 3,object position y 3, 0.0
if object collision (1,3) then point objct 1,object position x 2,object position y 2, 0.0
thats just basic pieces, so you can apply them to your game.
things you could add:
1. goal scoring
2. background
3. etc.