This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
notes:data:board [2010/11/18 15:06] – mgough | notes:data:board [2010/11/30 14:40] (current) – mgough | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====Game Board==== | ||
+ | {{: | ||
+ | |||
+ | Game board contains functions to display, interact with, and manipulate the backgammon game board. | ||
+ | |||
+ | <ditaa noedgesep center> | ||
+ | Die Class | ||
+ | / | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | | ||
+ | / | ||
+ | | | | ||
+ | / | ||
+ | |c978 accessor.cc | ||
+ | +-------------------+ | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | | {d}| | ||
+ | +-------------------+ | ||
+ | |||
+ | </ | ||
+ | |||
+ | FILES: | ||
+ | * board.cc | ||
+ | * board.h | ||
+ | * plr_move.cc | ||
+ | * cmp_move.cc | ||
+ | |||
+ | |||
+ | |||
+ | ^ Function | ||
+ | | screen_init() | ||
+ | <code c++> | ||
+ | screen_init(); | ||
+ | </ | ||
+ | |||
+ | ^ Function | ||
+ | | create_board() | ||
+ | <code c++> | ||
+ | create_board(); | ||
+ | </ | ||
+ | |||
+ | ^ Function | ||
+ | | update_board() | ||
+ | <code c++> | ||
+ | update_board(); | ||
+ | </ | ||
+ | |||
+ | ^ Function | ||
+ | | determine_move() | ||
+ | <code c++> | ||
+ | determine_move(int dieValue1, int dieValue2); | ||
+ | </ | ||
+ | |||
+ | ^ Function | ||
+ | | screen_end() | ||
+ | <code c++> | ||
+ | screen_end() | ||
+ | </ | ||
+ | |||
+ | ^ Function | ||
+ | | do_plr_move() | ||
+ | <code c++> | ||
+ | do_plr_move(int source, int moveNum); | ||
+ | </ | ||
+ | |||
+ | ^ Function | ||
+ | | do_cmp_move() | ||
+ | <code c++> | ||
+ | do_cmp_move(int source, int moveNum); | ||
+ | </ | ||
+ | |||
+ | ^ Function | ||
+ | | err() | int | string | | ||
+ | <code c++> | ||
+ | err(int error_num); | ||
+ | </ | ||
+ | |||
+ | |||
+ | ^ Function | ||
+ | | int loadGamePieces() | ||
+ | <code c++> | ||
+ | loadGamePieces(); | ||
+ | </ | ||