User Tools

Site Tools


projects:archevo:capturetheflagpercentage

CaptureTheFlagPercentage

CaptureTheFlagPercentage is like CaptureTheFlag, except that instead of taking a set amount of energy, the attacker takes a percentage of the defender's energy proportional to the number of correct bits. If the percentage is not an integer, we take the floor of the number. There is also no penalty for too few bits being the same.

No. similar bits Attacker energy change Defender energy change
0 +(1/256)d -(1/256)d
1 +(1/128)d -(1/128)d
2 +(1/64 )d -(1/64 )d
3 +(1/32 )d -(1/32 )d
4 +(1/16 )d -(1/16 )d
5 +(1/8 )d -(1/8 )d
6 +(1/4 )d -(1/4 )d
7 +(1/2 )d -(1/2 )d
8 +(1/1 )d -(1/1 )d

If the defender does not exist, the attacker's energy change is -5.

projects/archevo/capturetheflagpercentage.txt · Last modified: 2021/04/21 01:34 by Owen Mellema