by @Oliver Croxford Fork
{"functions":[],"name":"guess game","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_12b2e475_814d_4508_848d_1f889c04f90b"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"num","lengthValue2":"5","id":"id_e7f28e60_ac17_445a_88dd_65a2b22bff6a","initValue":"24"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"guess","lengthValue2":"5","id":"id_b57d0488_3ba8_45a9_a87e_c7342a0064b4","initValue":null},{"newline":true,"@type":"Output","id":"id_561bccab_d18e_44aa_8fa3_a9c62255bec6","value":"\"try to guess my number\""},{"@type":"Input","name":"guess","id":"id_d0f4a1a7_4545_4fe7_a106_d55e0e132931","prompt":null},{"condition":"guess != 24","@type":"While","id":"id_0d110b31_73a3_4824_b760_37833ee9e45a","body":{"statements":[{"newline":true,"@type":"Output","id":"id_3ab18882_5615_4ed3_9494_45ac0b42a6fa","value":"\"try again\""},{"@type":"Input","name":"guess","id":"id_36c74363_6796_4009_85b3_e1edd8958a00","prompt":null}],"id":"id_0d653602_68f7_42ea_85de_bd1d0a5c8a74"}},{"newline":true,"@type":"Output","id":"id_a37b74c8_8a18_44c2_b430_9756693766b9","value":"\"well done\""},{"@type":"Return","id":"id_35524fb7_d7d4_4d25_a6d3_928fae3c2025","maybeValue":null}],"parameters":[]},"id":"id_0c925f85_3992_4e2b_bc45_f3a0c16bbebf","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":175}