player.js w/out testing

uploaded if/then/else, assignment, operators