Functional for two players