GameManager
specifications (cont.)
n
public void
register (NimUI observer)
n
Register a user interface; user interface will be
notified of
GameManager
state changes.
n
require
:
observer
!= null
n
n
public void
play ()
n
Play a game of simple nim.
n