EXAPUNKS
评价数不足
VIRTUAL SANDBOX (POWERED BY SANDBOX.COM)
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
4.352 KB
2019 年 8 月 27 日 上午 4:04
2021 年 7 月 1 日 上午 7:09
4 项改动说明 ( 查看 )

订阅以下载
VIRTUAL SANDBOX (POWERED BY SANDBOX.COM)

描述
In virtual Sanbox you have 1 list with 11 elements (0-11) and 1 list with 19998 elements (-9999-9999)

To read and write to the 1. list use #VARL and for index use #INDL.

To access memory you can use two independent I/O (#MEMA and #MEMB) with two independent idexes (#INDA and #INDB)

In 5 files you have whole alphabet with numbers and other symbols in keyword.

You can read random number from #RAND and #REST will reset whole memory and window because the memory persist between runs and resets!

--- HOW TO OPERATE THE WINDOW ---

You can operate the window by writing things into #OUTP register.

If you write there 0 it will clear the window and remove the text from the memory.
If you write there 1 it will move the pointer by 1 row down
If you write there -1 it will move the pointer by 1 row up
If you write there everything else (even numbers) it will append it to the rows text

--- Get OUTPUT ---

If you want to stop the program, but still to see the window output use this sequence.

MARK HALT
JUMP HALT

--- Challenges ---

1. Create format for float (and ability to show it and operation with it)
2. The same as 1. but create format for long (number that can be long as the memory can accept)
3. Create ASCII GAME with AI (like random gen. maze or shooter) that will complete it
1 条留言
ElNico56 2021 年 7 月 1 日 上午 2:11 
Hey, you should make it so sending "0" to the screen is different from the number 0, you can do this in javascript with the === operation, happens in sandbox v2.0 too