heres my first attempt at one player pong! it includes a computer with 4 difficulty settings does anyone know how to double buffer this cuz it looks like shit? Thanks!
#include <guiconstants.au3>
#include "misc.au3"
GUICreate("Pong", 200, 270)
guisetbkcolor(0x000000)
guisetstate()
$xball = 0
$yball = 0
$direction = true ;if true, going twords paddle, if false, going towards computer player
$boundaries = true ;make ball bounce off walls
$xp1 = 0
$xcomp = 0
$vDll = 'user32.dll'
dim $poi