Advertisement
luiscobo

Taller_08_Mundo00

Oct 23rd, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.77 KB | None | 0 0
  1. {
  2.   "robots": [
  3.     {
  4.       "x": 1,
  5.       "y": 1,
  6.       "_prev_x": 1,
  7.       "_prev_y": 1,
  8.       "_prev_orientation": 0,
  9.       "objects": {
  10.         "carrot": 200
  11.       },
  12.       "_orientation": 0,
  13.       "_is_leaky": true,
  14.       "_trace_history": [],
  15.       "_trace_style": "default",
  16.       "_trace_color": "seagreen",
  17.       "__id": 5,
  18.       "model": "classic"
  19.     }
  20.   ],
  21.   "walls": {},
  22.   "description": [
  23.     "<h1>Funciones con parámetros</h1>",
  24.     "Un ejemplo sencillo del uso de funciones con parámetros",
  25.     ""
  26.   ],
  27.   "small_tiles": false,
  28.   "rows": 9,
  29.   "cols": 8,
  30.   "onload": [
  31.     "var x, y;",
  32.     "x = RUR.randint(3, 14);",
  33.     "y = RUR.randint(3, 14);",
  34.     "RUR.set_world_size(x, y);",
  35.     "RUR.fill_background('grass');",
  36.     "",
  37.     ""
  38.   ]
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement