added some more game logic
game logic developed to cater for a draw outcome
refactored out a same pick function