dnCurveBallPlayer is a bot for CurveBall aka 3D Pong. The program tracks the green in the ball and moves the mouse pointer. After capture has started, click once to launch the ball, middle click to stop.
Its purpose is to demonstrate fast screen capture and pixel tracking in native VB.NET The source code included is for Visual Studio 2010.
Technical:
Capturing an image is straight foward, but reading the capture using GetPixel is slow. The source code shows how to use LockBits and Marshal.Copy to transfer the image into a byte array. You can then loop through the byte array in the style of GetPixel but much faster. No references to GDI or external DLL are used.