changed pair (x, y) and changed game ctor.