by @Freddie Element Fork
{"functions":[],"name":"dart calculator","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_dc022f8b_c209_4e1c_8dac_c6dd2dc80cc7"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"dart","lengthValue2":"5","id":"id_5260b70e_1d49_4f58_9f13_48321af3a032","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"points","lengthValue2":"5","id":"id_ed88cd7f_5799_4fb7_8006_5b836dc7b7ae","initValue":"101"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"amountofdarts","lengthValue2":"5","id":"id_d2fd5a6c_4dd2_4759_bd0b_908695a8b7bd","initValue":"1"},{"newline":true,"@type":"Output","id":"id_fe679ec3_880a_40c5_99ce_9b845956ceed","value":"\"how many points did you get on your last throw?\""},{"@type":"Input","name":"dart","id":"id_f6eb8051_26c8_4351_bc73_b0c38945c0e3","prompt":null},{"condition":"points>0","@type":"While","id":"id_8ced26a8_cd89_4b10_9eae_9410b5ed5aca","body":{"statements":[{"@type":"Assign","name":"points","id":"id_ba6388e6_c918_4ba7_abf9_0033a1bb1ca4","value":"points-dart"},{"newline":true,"@type":"Output","id":"id_3554e50a_3608_4862_bdfb_4f10ffcc24b0","value":"points"},{"@type":"Assign","name":"amountofdarts","id":"id_86819f88_2792_425d_b53c_ecc7b9165814","value":"amountofdarts+1"},{"@type":"Input","name":"dart","id":"id_a7382e05_7cb0_4ac4_9703_f8621dd1c907","prompt":null}],"id":"id_2eabf2cf_0724_474f_80ac_ae965321f66b"}},{"newline":true,"@type":"Output","id":"id_3f75040c_f7aa_402f_b3c5_975cdbc1a579","value":"\"you reached \"+(points) +\" with\" +(amountofdarts)+ \" darts \""},{"@type":"Return","id":"id_b0b2bbbf_e20f_4b95_aa91_4a84387563e1","maybeValue":null}],"parameters":[]},"id":"id_88c99b6b_b7d4_4c62_bce6_d539f343c0fa","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":363}