Added functionality to play game