Adding a player class and ttt selection logic