{"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":"z","id":"id_b8240581_f9b5_472d_8163_6943706d695f","initValue":"0"},{"@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"},{"@type":"Assign","name":"z","id":"id_6248e2cb_fb7a_4dfd_9809_b1d7d12b1afa","value":"z+1"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_34947673_7412_4301_9a43_a1c563e22047","value":"\"You reached 101 points. Well done\""},{"newline":false,"@type":"Output","id":"id_ca43ed63_f95c_4e29_a6f2_6c304927673f","value":"\"You finished in \""},{"newline":false,"@type":"Output","id":"id_7ac69660_f6c8_4a65_982f_9e5546a92214","value":"z"},{"newline":true,"@type":"Output","id":"id_2db72cdc_f1b8_4ead_856c_6e6253ff40dd","value":"\" turns\""}],"id":"id_fe33ed73_e062_4a45_8aae_ccc4c3bbdf2f"},"trueBlock":{"statements":[{"newline":false,"@type":"Output","id":"id_79921cfa_a197_41e2_af4e_27ed60c25148","value":"\"You need \""},{"newline":false,"@type":"Output","id":"id_a9cc2c88_20ff_41da_96cd_8664662815c6","value":"x"},{"newline":true,"@type":"Output","id":"id_2358a4c1_25a4_47bc_aa1e_8706d0746efe","value":"\" more points\""}],"id":"id_207e8901_ea26_4623_99f1_e3ae1b093220"},"condition":"x>0","@type":"If","id":"id_a1833215_d4aa_4013_97b6_919fd6205e0e"}],"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":247}