by @Freddie Element Fork
{"functions":[],"name":"numb guessing game","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_4f17f641_8fa6_44b9_b4ac_c175292a63f3"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"number","lengthValue2":"5","id":"id_a1c3f4f5_a46b_4128_8427_5a4c3722b80b","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"count","lengthValue2":"5","id":"id_c919b750_7c7c_4465_94a7_55252e3130a3","initValue":"1"},{"newline":true,"@type":"Output","id":"id_6903b6e6_84da_4993_a695_c07180d8f6d7","value":"\"try and guess the number between 1-100 you have 5 attemps\""},{"@type":"Input","name":"number","id":"id_868fb4a5_b3d5_41ce_9baf_5836326a0bfc","prompt":null},{"condition":"number!= 57 && count <5","@type":"While","id":"id_847918b1_bf0f_41a1_af28_dcbed1ee38f9","body":{"statements":[{"newline":true,"@type":"Output","id":"id_2c7d04ef_9b2a_41ad_9c35_439695ddb206","value":"\"nope try again\""},{"@type":"Assign","name":"count","id":"id_f4a1f011_f3d8_441d_b2c6_445d083af36d","value":"count+1"},{"@type":"Input","name":"number","id":"id_f46532db_9c80_4ee9_a2d5_5f109d6de554","prompt":null}],"id":"id_39e065f0_cdc6_4b3a_9bb5_5d70d8ad7d48"}},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_0798e613_45ed_4a07_ac1e_aa49269345f8","value":"\"you ran out of attempts\""}],"id":"id_7e693287_e635_4f88_8c84_306e3e24044a"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_c90bb713_9a1d_4512_a551_5448ca498bac","value":"\"you got it it was 57\""}],"id":"id_6f11e5bf_8f2e_4a18_9664_ea1b5e004bc4"},"condition":"number==57","@type":"If","id":"id_e59dfb12_0f10_486a_9b42_543a83fd4ea3"},{"@type":"Return","id":"id_6cc5e067_161d_4d87_81c6_76e576a87a63","maybeValue":null}],"parameters":[]},"id":"id_1d755950_8e1b_4a46_b3b2_90733870a3b2","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":377}