1 code - RawIron/rawiron.github.io GitHub Wiki

  earned 10 points

  have 330 points
  new total is 340 points

  in level 9 with 30 points
  level 9 requires 50 points to complete
  new total in level 9 is 40
  40 is less than 50
  level remains 9

  total is 340
  level is 9
    caller               callee
input_bytestream  -> {
                       algorithm
result_bytestream <- }

The callee remembers the 330 points.

 caller    callee
10  -> {
         have 330 points
         total is 340 points
340 <- }

Or the callee has no memories.

 caller    callee
330, 10  -> {
              have 330 points, gained 10 points
              total is 340 points
340      <- }