Advertisement
triclops200

NewProgrammingGame

Sep 11th, 2012
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. <Triclops200> you are given a function defninition named foo(...)
  2. <Triclops200> Which can have any number of args
  3. <Triclops200> The two coders are given different tasks to do with the functionand the arguments
  4. <Triclops200> the winner is the one that can make the function do what he wants
  5. <Triclops200> Each coder takes a turn writing a line of code
  6. <Triclops200> You may not change the value of a variable created by the other coder except in a reference call
  7. <Triclops200> And, no one is allowed to change the value of the arguments passed, either by reference or directly
  8. <Triclops200> Each line is one expression
  9. <Triclops200> No chaining
  10. <Triclops200> Exception being for loops
  11. <Triclops200> You may have ONE expression following one for loop.
  12. <Triclops200> creation of an infinite loop is a loss
  13. <Triclops200> returning a wrong value is a loss
  14. <Triclops200> Must be written in valid C
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement