service { const html Init =
Please enter the Fibbonacci number <[current]>:
; const html Fail =
No, wrong answer, you are dumb. You should have entered <[correct]> for the <[current]> Fibbonacci number.
; const html Record =
That makes you the new record holder, beating the old record of <[old]> guesses.

Please enter your name for the hi-score list

; const html Finish =

You really could have done better. Hall of Champions

; const html List =
In <[plays]> plays of this game, the record holder is <[holder]> with <[record]> guesses.
; int plays, record; int seed; string holder; string localholder; int fibbonacci(int current) { int x; int y; int z; int tmp; int i; x = 1; y = 1; z = 1; i = 1; if(current == 0) { return 1; } if(current == 1) { return 1; } i = 2; while(i <= current) { tmp = z; z = x + y; x = y; y = z; i = i + 1; } return z; } session Play() { int current; int correct; int guess; current = 0; correct = 1; while(correct == 1) { show plug Init[current = current] receive[guess = guess]; if(fibbonacci(current) != guess) { correct = 0; } current = current + 1; } correct = fibbonacci(current); show plug Fail[correct = correct, current = current-1]; if (record==0 || record