class Game {
 private:
     char *nineword;
     char *shuffledword;
     char letter[9];
     char userword[9];
     int text_pos; /* Position to draw text in text box */
     int pos; /* position in userword */
     int score;
     int words;
     char *shuffle(char *word);
     void handle_buttonpress(int x, int y);
     void draw_board(char *word);
     bool islegit(char *word);
     void draw_cross(int i);
     void letter_click(int i);
     void handle_click(Point point);
     void set_score(int s);
     void clear_board(void);
     void check_word(char *word);
 public:
     Game(char *word);
     ~Game(void);
     void play(void);
};
