If your using vb5 or vb6 here's a centipede game I never finished but your welcome to use any part of the code. All graphics are self contained and generated at runtime.
It's called ICOSAPEDE (twenty feet)- Mouse is the trackball, space bar is fire button. Esc to exit.