pensquid / yobmef

Weird toy chess engine written *very much from scratch* in Rust.
14 stars 1 forks source link

Subtract moves made so far in time calculation #7

Closed UlisseMini closed 3 years ago

UlisseMini commented 3 years ago

Right here this should be time, divided by (80 - number of moves so far)

But we don't track the number of moves so far yet! this will require something like a chess.Game. Or just hack it in there with an counter.

UlisseMini commented 3 years ago

Closed, hacked in by just always dividing remaining time by 30, omegalul