function

Hi everyone,
I am new to programming and my class is working on a game for a final project. I have searched the internet and I have not had any luck. The portion I have is making a enemy ship fire. Do anybody have any reference I can get or maybe the code?

Thanks a million,
Glenn

The reason you got this assignment is because your teacher wants you to understand what you are doing.

This is your homework, not ours, its not that hard either.

Sorry but laziness is a pet peeve of mine.