play function name changed to playGame in test