Learn about this topic in these articles:

mathematical recreation

Well known, but by no means as trivial, are games for two players, such as
ticktacktoe and its more sophisticated variations, one of which calls for each player to begin with three counters (3 black, 3 white); the first player places a counter in any cell, except the center cell, of a 3 × 3 diagram; the players then alternate until all the counters are down. If neither has won by getting...