Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Games

Name: Anonymous 2007-11-05 10:50

// main.cpp
//

#include "game.hpp"

int main()
{
    Game * game = Game::instance();
    game.initialize();
    while( game.end == false )
    {
        game.control();
        game.handle();
        game.draw();
    }
}

Hey /prog/, when you code the main function of a game, what does it look like?
Do you know some good sourcecode of a game where I could learn from?

Name: Anonymous 2007-11-06 7:42

>>8
CASTINGS SPELS IN LISP YOU FAGGOT

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List