Diff
Not logged in

Differences From Artifact [700e6bf10300d920]:

To Artifact [e8c7d41c69c50305]:


327 327 328 328 int turn = 0; 329 329 bool dead = false; 330 330 int lambda = 0; 331 331 int exit_bonus = 0; 332 332 int under_warter = 0; 333 333 @property { 334 - int score() { return lambda*25*(1+exit_bonus) - turn; } 334 + long score() { return lambda*25L*(1+exit_bonus) - turn; } 335 335 int water_level() { return water.level(turn); } 336 336 int water_until_rise() { return water.until_rise(turn); } 337 337 bool cleared() { return exit_bonus>0; } 338 338 int hp() { return map.waterproof - under_warter; } 339 + long score_if_abort_now() { return lambda*25*(1+max(1,exit_bonus)) - turn; } 339 340 } 340 341 } 341 342 342 343 unittest 343 344 { 344 345 Game.load(["###","...","#RL"], ["xxx":"yyy"]); 345 346 }