Tuesday, October 16, 2018

Proposal: Conditional Gain

Fewer than a quorum not voting AGAINST, fails 1-2. Failed by Kevan.

Adminned at 18 Oct 2018 08:07:47 UTC

Add the following to the runAccessCode function:

if(accessCode == ‘*’ && validActor()){
printLine("INC "+actingProgram );
printLine("INC " + randomPlayer());
printLine("SET "+ actingProgram +" INPUT TO "+randomPlayer().slice(0,2));
}

Add the following function to the Master Control Program:

function validActor(){
return checkIsNot(actingProgram,"__PROGRAM","Illegal execution! The name of the acting program is required.")
&& checkIsNot(getProgramInfo(actingProgram),undefined,"Illegal execution! the name of the acting program does not match an legal program")
}

 

You can’t win the energy war this way, but you can sure get close! you also give a random program access to you.

Comments

Kevan: HE/HIM

10-16-2018 14:51:55 UTC

You can win this way, with a 1-in-7 chance: if randomPlayer() selects the player executing the program, they’re 2 Energy ahead of everyone else.

derrick: HE/HIM

10-16-2018 16:02:19 UTC

Oh, yes you can. Unfortunately, the two hour window is up, so I will be unable to modify this. I should have defaulted everyone’s energy to 1.

Kevan: HE/HIM

10-16-2018 16:14:52 UTC

against

Brendan: HE/HIM

10-16-2018 18:12:54 UTC

against I think the default-to-1 proposal is a good idea anyway.