Half-life
module.exports = class {
constructor(controller) {
this.controller = controller;
}
play_hand() {
var np = this.controller.np()
var bid = np < 10 ? np - 1 : Math.floor(np / 2);
this.controller.declare(bid);
}
};
Takes the number of nose points it has and bids half each time. However, if it has less than 10 np left, it goes all in. This is to hopefully defeat half_way
.