Syntax errors are easy, aren't they? Semantic errors, OTOH, is hard. I'll look at it later. Thanks for posting the source code in easily readable colors!
What line number? It's a screen cap, so I don't think the error would be on my end.
I need to keep working on this to make Rogue-like game. I'll post the code when that's done.
You're doing a lookahead, right?
1.Set room origin and dimension randomly.
2. Use chkchr to see if it's free.
3. If not, reduce dimension, repeat from 2 until too small.
4. If too small, try again from step 1 until MaxN tries. Goto 7.
5. Draw room.
6. Repeat from 1 until MaxN tries.
7. Done.
Something like that?
You don't need to be super smart to do QSP. If it doesn't fit, lower the standard! Here is the Flashlight App in QSP! This little known gem has four modes (use touchscreen): Off, Flashlight, Emergency Strobe, and DISCO!
String Copy bug. Trying to copy string with = operator results in both strings being referenced the same way, instead of copied. There's a workaround, but I hate to have to do that everytime.
If I really want to save space, I'd use simple string. T$="0123456789ABCDE ", and index it T$[Y×4+X]. It's great that you check for winning condition. I can't do that because shuffling is optional, and the puzzle begins in solved state.
BTW, that 600 bytes limit is an early Apple Macintosh reference. :)
Excellent! A few observations:
RANDOMIZE 0 is not needed.
IF S will work fine. FALSE is 0. TRUE is non-zero. <>= operators are optional.
Try using BUTTON(N) where N is 0-3. Default is zero, but that leads to overflow. I regularly use BUTTON(3) to prevent overflow.
Excellent work! I appreciate it!