refactoring
refactoring and cleanup
changed round timing
got rid of unessary function in player.js