Beautified _board_is_won and test_board.c now quits out when won
Second draft attempt at ttt_board_is_won
Implemented current_player into board and O's into board_make_move
Fixed signature of ttt_board_make_move to fit protocol with errors
Moved ttt_board_make_move to ttt-board.c with comment added and prototype in ttt-board.h
2005-11-28 Kevin Worth <kevin@theworths.org> * PROTOCOL: Changed board cell numbering to start with zero instead of one. * src/Makefile.am: * src/test-board.c: (main): Added new file for testing. * src/ttt-board.c: (ttt_board_init), (ttt_board_to_string): * src/ttt-board.h: Implemented board_to_string.
2005-11-28 kevin worth <kevin@theworths.org> * src/ttt-board.c: * src/ttt-board.h: Moved struct def from ttt-board.h into ttt-board.c to make it private * src/ttt-lex.h: Autogenerated
2005-11-11 Carl Worth <cworth@cworth.org> * src/ttt-board.h: Include ttt.h to get standard includes. * src/ttt-socket.c: Replace include of netinet/ip.h with netinet/in.h which seems to be necessary for BSD libc, (eg. Mac OS X).
* src/ttt-board.c: (ttt_board_init): Added for loop counter init. * src/ttt-board.h: Added prototypes.
* /games/tictactoe/src/ttt-board.c, ttt-board.h: Implemented board_init
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.