added head and body tag
remove player's input from the object
fixed the logic issue on use when backpack is empty
bug fixes on player.js