Define a new function to elimnate repeated code
Unnecessary to add 0
Rename method to reflect what it actually does
parameters not necessary since using global variables
Remove unnecessary duplicate code
Fix indentation
Took playerThrow and botThrow out of global scope & separate concerns