]> git.cworth.org Git - ttt/blobdiff - ChangeLog
* /games/tictactoe/src/ttt-board.c, ttt-board.h: Implemented board_init
[ttt] / ChangeLog
index 63169bbaa3538a255e95fec84f10fe87f6b91374..eedf81b665fcf146db1ea4a3b9e965e35920b746 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+2005-11-05  Carl Worth  <cworth@cworth.org>
+
+       * src/Makefile.am: Add ttt-board.[ch] and x.[ch]
+       
+       * src/ttt-board.h:
+       * src/ttt-board.c: (ttt_board_init), (ttt_board_init_from_string),
+       (ttt_board_to_string), (ttt_board_write): Add some stub functions
+       for Richard and Kevin to have some practice
+       implementing. Functions to represent a board and to go to/from a
+       string.
+       
+       * src/x.h:
+       * src/x.c: (xasprintf), (xvasprintf), (xpipe), (xfork), (xmalloc),
+       (xcalloc), (xrealloc), (xfdopen), (xstrdup), (xfwrite): Several
+       utility functions that make system calls, check the result, and
+       exit on any error. This will simplify the error checking needed in
+       programs using these functions.
+       
 2005-11-05  Carl Worth  <cworth@cworth.org>
 
        * src/Makefile.am: Break things up for separate ttt-client and