################################################################################ # # The following CODEREFs are automatically created stubs. # ################################################################################ *--[CODEREF]----------------------------------------------------------------* | | | class NimGame ; | | | *---------------------------------------------------------------------------* [c:@S@NimGameclassNimGame;] Class NimGameclassNimGame;. ################################################################################ # # The following CODEREFs are automatically created stubs. # ################################################################################ *--[CODEREF]----------------------------------------------------------------* | | | NimGame(unsigned int number_of_heaps_, unsigned int maxtake_); | | | *---------------------------------------------------------------------------* [c:@S@NimGame@F@NimGame#i#i#] Constructor of class `NimGame`. *--[CODEREF]----------------------------------------------------------------* | | | unsigned int get_number_of_heaps() const; | | | *---------------------------------------------------------------------------* [c:@S@NimGame@F@get_number_of_heaps#1unsignedint] Method `get_number_of_heaps` of class `NimGame`. *--[CODEREF]----------------------------------------------------------------* | | | void set_heap_size(unsigned int index, unsigned int size); | | | *---------------------------------------------------------------------------* [c:@S@NimGame@F@set_heap_size#i#i#void] Method `set_heap_size` of class `NimGame`. *--[CODEREF]----------------------------------------------------------------* | | | unsigned int get_heap_size(unsigned int index) const; | | | *---------------------------------------------------------------------------* [c:@S@NimGame@F@get_heap_size#i#1unsignedint] Method `get_heap_size` of class `NimGame`. *--[CODEREF]----------------------------------------------------------------* | | | bool finished() const; | | | *---------------------------------------------------------------------------* [c:@S@NimGame@F@finished#1bool] Method `finished` of class `NimGame`. *--[CODEREF]----------------------------------------------------------------* | | | Player winner() const; | | | *---------------------------------------------------------------------------* [c:@S@NimGame@F@winner#1Player] Method `winner` of class `NimGame`. *--[CODEREF]----------------------------------------------------------------* | | | Player get_next_player() const; | | | *---------------------------------------------------------------------------* [c:@S@NimGame@F@get_next_player#1Player] Method `get_next_player` of class `NimGame`. *--[CODEREF]----------------------------------------------------------------* | | | bool valid_move(NimMove move) const; | | | *---------------------------------------------------------------------------* [c:@S@NimGame@F@valid_move#$@S@NimMove#1bool] Method `valid_move` of class `NimGame`. *--[CODEREF]----------------------------------------------------------------* | | | void execute_move(NimMove move); | | | *---------------------------------------------------------------------------* [c:@S@NimGame@F@execute_move#$@S@NimMove#void] Method `execute_move` of class `NimGame`. *--[CODEREF]----------------------------------------------------------------* | | | unsigned int nim_value() const; | | | *---------------------------------------------------------------------------* [c:@S@NimGame@F@nim_value#1unsignedint] Method `nim_value` of class `NimGame`.