isupeene/connect4 — pull request #9 by bsoetaer (2014-11-19 22:46:37+00:00)
Title: GUI view. Loading not working. Not properly integrated.

@isupeene Load doesn't seem to be working currently. Noticed it works for your CLIClient so I believe it probably has something to do with me adding another view to the GameManagerImpl (The commented lines). I will try to fix the load after we have integrated properly.

Can run the GUI by uncommenting the #game_options[:view] lines in the game manager and then running "ruby gui_view_impl"

Game type is changed thru the edit menu, number of players is chosen thru file-> new

We need to properly integrate as your GameManager does not support the gui view and the way I made the gui view is for it to start the games thru the game manager, not for the manager to start the views. Done like this to allow for the gui view to stay open constantly, rather than selecting new in the gui which ends up closing the current gui and opening a new one.

We also need to add contracts. For right now I am going to take a quick look through our design doc and see if we missed anything we said we'd do or if we changed anything. I'll email you afterwards when I am starting on something else.