Converting programs from function to object based programming
Hey there, im fairly new to programming, currently in a high school programming class and I have a few questions. Right now my class is working on object based programming and we each have to take a program thats written sequentially or in functions and convert that to object based. The program I am converting is Asteroids I am using the source code from brainjar here . I am supposed to but it into different classes i.e one for the asteroids, spaceship, ufos etc.He said it would be fairly easy for me because its already in functions but the problem is I have no idea how to even begin, if anyone has any advice please post a comment I could use all the help I can.
Thanks