| www.delorie.com/gnu/docs/gnugo/gnugo_88.html | search |
![]() Buy GNU books! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
These functions are used when you want to set up a new position without actually playing out moves.
void clear_board()
Clears the internal board (board[]), resets the ko position,
captured stones and recalculates the hash value.
void setup_board(Intersection new_board[MAX_BOARD][MAX_BOARD], int ko_pos, int *last, float new_komi, int w_captured, int b_captured)
Set up a new board position using the parameters.
void add_stone(int pos, int color)
Place a stone on the board and update the hashdata. No captures are done.
void remove_stone(int pos)
Remove a stone from the board and update the hashdata.
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |