starting to put together a model to represent the game tree in a widget