update bug and format bug
update player class
update main.js