added updateVic and updateRes to player

also changed card.js to implement those functions