JD-pyprocgame icon indicating copy to clipboard operation
JD-pyprocgame copied to clipboard

Incorrect Blackout scoring

Open clempo2 opened this issue 3 years ago • 1 comments

The rule sheet describes the Blackout this way: GI turns off. Left center ramp is lit with Blackout flasher flashing. If ramp is hit once, it re-‐lights for a double award (2x Blackout flasher also flashes). The double award is required for mode completion.

The current implementation does: For easy and medium difficulty, the required number of shots is 1, for hard difficulty the required number of shots is 2. Every shot awards 10000. First shot always marks the mode completed successfully, turns on the 2x flasher and keeps the mode going. Making the required number of shots awards 50000 and keeps the 2x flasher and keeps the mode going. Shots beyond the required number of shots only award the regular 10000 nothing more. The mode ends when the timer reaches 0 and never earlier.

A more coherent implementation would do: For easy and medium difficulty, the required number of shots is 2, for hard difficulty the required number of shots is 3. Every shot awards 10000. Completing the required number of shots minus 1 awards 50000 and turns on the 2x flasher. The shot after that gives the regular 10000 plus 110000, marks the mode completed successfully and ends the mode.

clempo2 avatar Oct 01 '21 03:10 clempo2

The issue can be reproduced with the attached test case test.zip

clempo2 avatar Oct 01 '21 03:10 clempo2