I'm confident that you can work it out for yourself. This will be the only way you will learn and become a great programmer

.
You can get ANY of the commands you require in help.
You can ask for the theory here..., but now I'm stopping giving out code snippets, it spoils the learning curve.
I could although go as far as helping you lay out your code:
Load in objects
Position objects
Start Loop---------------------
Player Controls - Upkey downkey leftkey rightkey...
Update character Position
Position Object @ char position
Rotate it to same as Character
Move object forward
refresh
Loop ---------------------