| 
									
										
										
										
											2025-01-12 19:50:11 -05:00
										 |  |  | #ifndef _FD_WORD_
 | 
					
						
							|  |  |  | #define _FD_WORD_
 | 
					
						
							|  |  |  | typedef struct Word Word; | 
					
						
							|  |  |  | typedef struct Words Words; | 
					
						
							| 
									
										
										
										
											2025-01-19 08:39:00 -05:00
										 |  |  | typedef struct Words Words; | 
					
						
							| 
									
										
										
										
											2025-01-12 19:50:11 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | #include "game.h"
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | struct Word { | 
					
						
							|  |  |  |   char *word; | 
					
						
							|  |  |  |   char* synonyms[100]; | 
					
						
							|  |  |  |   int synonyms_count; | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | struct Words { | 
					
						
							|  |  |  |   Word words[200]; | 
					
						
							|  |  |  |   int count; | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | void game_load_words(Game *g); | 
					
						
							| 
									
										
										
										
											2025-01-12 20:15:25 -05:00
										 |  |  | Word *find_word(Words *words, char *word); | 
					
						
							| 
									
										
										
										
											2025-01-12 19:50:11 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | #endif
 |