Added code for GameOfPips