Implementing two-player game.