Noob, need help with code.

My first project is going to be controlling a USB Missile Launcher with the Arduino.
I don't know squat about coding unfortunately, and could use some help.

I've got 3 dc motors. One turns the base, one tilt up and down, and the other controls the firing mech.

I've got 5 pushbuttons, up, down, left, right and fire...

Can someone point me the right direction? The next step will be to use a ping sensor to track movement and fire when the target is in range. Then maybe a coilgun rather than foam darts ; )

you will need to hook the DC motors up with a transistor to PWM pins on the arduino, and then read the switches and do some looping so you can turn the motor on while the switch is closed.