00001 /* 00002 * $Id: Bingo.h,v 1.4 2002/08/09 11:19:18 virtualcasino Exp $ 00003 */ 00004 #ifndef __BINGO_H__ 00005 #define __BINGO_H__ 00006 #include<clawsoft.h> 00007 #include<Game.h> 00008 #include<Font.h> 00009 #include<Resource.h> 00010 00011 #define MAXIMUM_PLAYERS 1000 00012 00013 namespace clawsoft{ 00014 00015 class BingoCard:public Object{ 00016 protected: 00017 public: 00018 short int numbers[5][5]; 00019 short int vchktable[5][5]; 00020 BingoCard(); 00021 void request(String url, int port); 00022 bool operator==(BingoCard); 00023 void autogen(); 00024 void draw(int x, int y); 00025 }; 00026 00027 void genCards(); 00028 void provideCard(Socket &client); 00029 00030 extern BingoCard *AllCards; 00031 extern bool *usedCards; 00032 00033 } 00034 00035 00036 #endif 00037
Powered by: