Name: Anonymous 2013-02-21 7:32
Hi, I've just finished learning C++ and SDL. But... I don't think i can make any good 2D game like that. I've heard about desing patters, and OOP but they are too hard for noob like me.
while (!finished) {
update(): /* Get input and change game state */
render(); /* Print changes to screen */
usleep(1000/fps);
}