by @James Robertson Fork
{"functions":[],"name":"Guess","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_fa8b56ae_b753_41c6_9eb9_69f9fcfd0160"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Num1","lengthValue2":"5","id":"id_fb2e7101_bd36_4fac_a5ff_df261fd69053","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Num2","lengthValue2":"5","id":"id_3ec66979_1e24_4d9f_a68a_e88627e46ba5","initValue":null},{"newline":true,"@type":"Output","id":"id_f266e93b_81d2_4706_b64d_ea7f6d8d097c","value":"\"Enter a number to for someone to guess\""},{"@type":"Input","name":"Num1","id":"id_d6c16580_d5c7_4f61_b0b6_153ac0c13e85","prompt":null},{"newline":true,"@type":"Output","id":"id_3e0fe988_7916_45cb_a5b5_9ad12b0604fe","value":"\"Now guess your number\""},{"@type":"Input","name":"Num2","id":"id_edf825b5_4d8c_446f_9cdd_305c12b9af3b","prompt":null},{"condition":"Num2 != Num1","@type":"While","id":"id_9abc3477_10d8_4981_9e0e_1bb2beb43eee","body":{"statements":[{"newline":true,"@type":"Output","id":"id_f1823b69_a783_4eaf_bcc0_f8c53b563c26","value":"\"Try again\""},{"@type":"Input","name":"Num2","id":"id_19cb1211_2543_4d7e_8c35_10341e3d133d","prompt":null}],"id":"id_fabee7fc_c99b_43ba_9ef6_3ddbded917f5"}},{"newline":true,"@type":"Output","id":"id_84f7657d_b413_420d_bcfd_10550f3442a7","value":"\"Well done you did it!\""},{"@type":"Return","id":"id_62e26256_438f_4f5a_8e16_268bedc92ac9","maybeValue":null}],"parameters":[]},"id":"id_078452a5_7fc1_4bb0_b665_12b59ea42747","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":239}