by @Samuel Ma Fork
{"functions":[],"name":"Darts","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_146d7ecb_a487_4b65_a46e_226a2cd78448"},{"@type":"Declare","tpe":"Integer","name":"y","id":"id_1870225c_d8f8_4493_8bf2_2b71be26fe21","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"x","id":"id_2b611f57_c0de_4f05_a2c3_d2784dfb99ac","initValue":"101"},{"condition":"x>=0","@type":"While","id":"id_616b5c3a_316d_4008_bc70_86a313a72c93","body":{"statements":[{"newline":true,"@type":"Output","id":"id_a37b7110_d51c_48a6_8e4e_d51ed32c1974","value":"\"How many points did you score\""},{"@type":"Input","name":"y","id":"id_c4b3f0c1_00a1_48fa_82db_c3c213e5454a","prompt":null},{"@type":"Assign","name":"x","id":"id_12771993_976a_4473_ada7_3f28483ef8f5","value":"x-y"},{"newline":false,"@type":"Output","id":"id_9e274764_a6db_46be_8fc4_2b153785336b","value":"\"You need \""},{"newline":false,"@type":"Output","id":"id_442a8bc0_4750_4888_afdc_d0b5d868fd48","value":"101-x"},{"newline":true,"@type":"Output","id":"id_00812e9c_2441_4532_a4db_9770af781c53","value":"\" more points\""}],"id":"id_24131762_a4eb_461e_acd2_115b3a65ab93"}},{"@type":"Return","id":"id_30b23f01_5d17_4aac_8539_e46294fc5ffb","maybeValue":null}],"parameters":[]},"id":"id_3ddf64ae_1aa9_4f6d_a907_79bd4bec93eb","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":146}