Required memory cells for PONG ============================== 0 = player 1 y 1 = player 2 y 2 = ball x 3 = ball y 4 = ball velocity x 5 = ball velocity y 10 = for y 11 = for x NF 1.2 ====== 1. Clear Screen neccessary Not neccessary: go to (x,y) 2. Änderung an "," - No ECHO - Wenn Taste gedrückt, dann Wert. Wenn nicht, dann 0. 3. CLI: nf.exe myprogram.nf /listento 127.0.0.1:8081 /connectto 127.0.0.1:8081 nf.exe myprogram.nf /listento 8081 /connectto 127.0.0.1:8081 Neccessary for new "," behavior =============================== Loop until input is not 0: x, => inputWaitOutput(x) function inputWaitOutput(x) { # temp tx; # temp tloop; # x[-]tx[-]tloop[-]+[x,[tloop-x[tx+x-]]tx[x+tx-]tloop]x. x[-] tx[-] tloop[-]+[ x,[ { Äußere Schleife wird abgebrochen } tloop- { Innere Schleife wird abgebrochen } { tx = x; x = 0 } x[ tx+ x- ] ] { x wiederherstellen } { x = tx; tx = 0 } tx[ x+ tx- ] tloop ] x. }