[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Linroids
Group-
Here is my entry to start the simple game we are attempting to write.
I know we haven't really decided anything, but what the heck. Feel free to
comment, question,
criticize, and especially _code_!
-Brett
p.s. I know it doesn't _do_ anything, I just thought I'd get the ball
rolling.
p.s.s. I'm assuming that we are working on a simple game such as space
invaders or asteroids.
p.s.s.s. There is a game tutorial written for the allegro (DOS) library at
http://www.canvaslink.com/gfoot/vivace/vivace.txt
that some of you might find interesting.
int game_over;
void init_game()
{
game_over=0;
}
void update_graphics()
{
}
void get_input()
{
}
void process_input()
{
}
void update_game()
{
game_over=1;
}
void exit_game()
{
}
int main(int argc,char **argv)
{
init_game();
while(!game_over){
update_graphics();
get_input();
process_input();
update_game();
}
exit_game();
return 0;
}