fixed several bugs and implemented isGameFinished and getWinner in
facade