getReward ready for implementation

add
start : function (obj , getReward) {
this.getReward = getReward;
to your games and this.getReward('item') to your endGame method