Guest User

Untitled

a guest
Jan 14th, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1.  
  2.  
  3. //GINSBORG.cc v1.0
  4.  
  5. int main(case, decisionOptions)
  6. {
  7. decisionCurrent=decisionOptions[0];
  8.  
  9. if (case.political==TRUE)
  10. {
  11. for (i=0; i<= decisionOptions.sizeof();
  12. i++)
  13. {
  14. if ( decisionOptions[i].leftistScore > decisionCurrent.leftistScore;
  15. decisionCurrent = decisionOptions[i];
  16. }
  17. }
  18.  
  19. else
  20. decisionCurrent = decisionOptions[ randomNum() ];
  21.  
  22. decisionFinal = decisionCurrent;
  23.  
  24. return decisionFinal;
  25. }
Add Comment
Please, Sign In to add comment