https://www.geeksforgeeks.org/coin-game-winner-every-player-three-choices/