Improving repl more
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
[
|
||||
{
|
||||
"sheet_type": "code",
|
||||
"value": "x = code_sheet(1);\nreturn {init: () => {y = 0}, update: () => {y += speed; if (y > 127) {y = -6}}, draw: () => {clear_screen(); draw_text(x, y, 'hello world')}}"
|
||||
"value": "x = code_sheet(1);\nreturn ({init: () => {y = 0}, update: () => {y += speed; if (y > 127) {y = -6}}, draw: () => {clear_screen(); draw_text(x, y, 'hello world')}})"
|
||||
},
|
||||
{
|
||||
"sheet_type": "code",
|
||||
"value": "speed = 2; return 8"
|
||||
"value": "speed = 2; return (8)"
|
||||
}
|
||||
]
|
Reference in New Issue
Block a user