GWT Implementation of "samegame"