]> git.cworth.org Git - wordgame/log
wordgame
17 years agoRemove dependence on string_t functions from grid.c
Carl Worth [Thu, 21 Sep 2006 08:55:59 +0000 (01:55 -0700)]
Remove dependence on string_t functions from grid.c

17 years agoAdd printing to dict interface. Breakup grid prints by letter count.
Carl Worth [Thu, 21 Sep 2006 08:48:46 +0000 (01:48 -0700)]
Add printing to dict interface. Breakup grid prints by letter count.

17 years agoComplete the dict layer by adding dict_cursor_t and dict_entry_t
Carl Worth [Thu, 21 Sep 2006 07:36:10 +0000 (00:36 -0700)]
Complete the dict layer by adding dict_cursor_t and dict_entry_t

Some might argue that this is a gratuitous layer and that it
hides the elegance of the trie implementation where pointers
to the entire structure and pointers to a single node are
equivalent.

But I think the elegance is still all there in the implementation,
and I think there's some real benefit in making separate notions
of the entire structure (dict_t) and a pointer to a single element
for navigating (dict_cursor_t) since the operations one might want
to perform on one or the other are entirely separate.

With this change, the only remaining dependence of grid.c on any
trie or TRIE symbols is a single flag definition (which I want to
put entirely in grid.c) and the print functionality.

17 years agoBegin to wean grid.c away from trie and toward dict.
Carl Worth [Thu, 21 Sep 2006 06:59:59 +0000 (23:59 -0700)]
Begin to wean grid.c away from trie and toward dict.

17 years agoEliminate useless layer of dict wrapping trie.
Carl Worth [Thu, 21 Sep 2006 06:51:04 +0000 (23:51 -0700)]
Eliminate useless layer of dict wrapping trie.

17 years agoHide implementation details of dict in dict-impl.h. Add automatic dependency computat...
Carl Worth [Thu, 21 Sep 2006 06:29:22 +0000 (23:29 -0700)]
Hide implementation details of dict in dict-impl.h. Add automatic dependency computation to Makefile.

17 years agoBreak wordgame.c into dict.c and grid.c in preparation for more programs
Carl Worth [Thu, 21 Sep 2006 05:22:25 +0000 (22:22 -0700)]
Break wordgame.c into dict.c and grid.c in preparation for more programs

17 years agoIgnore *.o and *~ files.
Carl Worth [Tue, 19 Sep 2006 08:01:00 +0000 (01:01 -0700)]
Ignore *.o and *~ files.

17 years agoAdd input, verification, and scoring.
Carl Worth [Sun, 17 Sep 2006 09:01:17 +0000 (02:01 -0700)]
Add input, verification, and scoring.

I think the game is basically complete at this point.

17 years agoAdd board and solver.
Carl Worth [Sun, 17 Sep 2006 08:00:10 +0000 (01:00 -0700)]
Add board and solver.

17 years agoInitial comit of wordgame
Carl Worth [Sun, 17 Sep 2006 05:56:29 +0000 (22:56 -0700)]
Initial comit of wordgame