(04-27-2025, 01:37 AM)luwal Wrote: QuickBASIC's Gorillas.bas is so classic.
A QB64 version is here:
https://lunduke.itch.io/gorillabas
The technical information of the game: https://lunduke.substack.com/p/compiling...orillas-on
I hope that some NaaLaa experts will try to write the game in NaaLaa and Marcus will add the NaaLaa version to the next version of NaaLaa!
Great idea

Lots of 'goto' in the source code. Naalaa doesn't have that ... hm. You can probably use 'asm' blocks to make those jumps. It looks dumb, but it works:
Code:
pln "n7 has no goto"
' goto DOWN_THERE.
asm
jmp DOWN_THERE:
endasm
pln "i'm never written"
' a label named UP_HERE.
asm
UP_HERE:
endasm
pln "bye bye!"
system "pause"
' have to call end here or the program will jump to UP_HERE down there ...
end
' a label named DOWN_THERE.
asm
DOWN_THERE:
endasm
pln "okay?"
asm
jmp UP_HERE:
endasm