Browse Source

update to modem level

cecylia 8 years ago
parent
commit
7be1b6f711
1 changed files with 3 additions and 5 deletions
  1. 3 5
      levels/01 Basics/level05.json

+ 3 - 5
levels/01 Basics/level05.json

@@ -2,7 +2,6 @@
 	devices:[
 	devices:[
 		{
 		{
 			id:"Alice",
 			id:"Alice",
-			type:"NullComputer",
 			ports:1,
 			ports:1,
 			x:0.25,
 			x:0.25,
 			y:0.55,
 			y:0.55,
@@ -10,10 +9,10 @@
 		},
 		},
 		{
 		{
 			id:"Google",
 			id:"Google",
-			type:"NullComputer",
 			ports:1,
 			ports:1,
 			x:0.75,
 			x:0.75,
-			y:0.5
+			y:0.5,
+                        script: deviceScripts.ping
 		},
 		},
 		{
 		{
 			id:"Home",
 			id:"Home",
@@ -21,8 +20,7 @@
 			ports:2,
 			ports:2,
 			x:0.4,
 			x:0.4,
 			y:0.5,
 			y:0.5,
-                        script: deviceScripts.modem,
-                        rules: []
+                        script: deviceScripts.modem
 		}
 		}
 	],
 	],
 	links:[
 	links:[