by @Haroon Khalid Fork
{"functions":[],"name":"Guessing","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_5e6d30f0_d2aa_45db_acf9_74e22cc5d8a7"},{"@type":"Declare","tpe":"Integer","name":"Number","id":"id_2cc97317_8a58_4a5c_bd87_8d20b2a34b04","initValue":null},{"@type":"Input","name":"Number","id":"id_b6a5da6b_8f6b_4908_ad65_e8b350d5e39e","prompt":null},{"@type":"Declare","tpe":"Integer","name":"Secret","id":"id_e52fb567_fd44_4bd0_ac45_b509e8e8fcec","initValue":"7"},{"@type":"Assign","name":"Secret","id":"id_e6874b4e_9c02_4e5d_8e27_358b77ea4bbe","value":"7"},{"condition":"Number!=Secret","@type":"While","id":"id_3a2e5d5b_33b5_4bab_b160_916f1c8cb191","body":{"statements":[{"newline":true,"@type":"Output","id":"id_489c988e_dd66_4875_8c92_1f57aec1d566","value":"\"Wrong, please try again\""},{"@type":"Input","name":"Number","id":"id_d2ab43b6_996b_4a86_a021_655d342d8537","prompt":null}],"id":"id_50878248_9a35_4171_995d_8c9d88f7ec09"}},{"newline":true,"@type":"Output","id":"id_096342b2_bf94_481c_b79a_af2b1f396df9","value":"\"Well done, you guessed my number\""},{"@type":"Return","id":"id_a8ff1317_d62b_407c_a8bc_ae28a182d129","maybeValue":null}],"parameters":[]},"id":"id_27c4ded0_3cde_4afc_adf5_3cc996303c36","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":148}