Create player.js

player object