{"functions":[],"name":"S3 T4","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_2a2fb2f3_ff0c_4492_9fd4_0068559eb551"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"secretnumber","lengthValue2":"5","id":"id_c32dd36a_dbad_4b7a_8501_25a0a2fb4b3c","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"attempts","lengthValue2":"5","id":"id_dc26c725_a78c_4c98_9eff_1ae2cfe0dcc5","initValue":"1"},{"newline":true,"@type":"Output","id":"id_c8766089_41ba_40df_ba4b_5d48fd28c318","value":"\"Can you guess my secret number (1-5) in three attempts or less?\""},{"@type":"Input","name":"secretnumber","id":"id_d89e2c3d_dea0_41bb_b148_67bf9c8a1838","prompt":null},{"condition":"secretnumber != 4 && attempts <3","@type":"While","id":"id_752e328a_66d3_4060_8c57_2c9c06c96d76","body":{"statements":[{"newline":true,"@type":"Output","id":"id_2d079a3c_7f42_419d_954d_a1048b0fd8c6","value":"\"try again...\""},{"@type":"Input","name":"secetnumber","id":"id_ddbaf545_40de_4a6e_bfea_7a62452d2934","prompt":null},{"@type":"Assign","name":"attempts","id":"id_5a56b7c2_577e_4c35_9964_ea64974c9131","value":"attempts + 1"},{"newline":true,"@type":"Output","id":"id_e81be99b_7b84_4a96_a993_498648b9705d","value":"attempts"}],"id":"id_faad2b32_0c5c_4bd5_b14e_7f5b8016832a"}},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_f9c4508b_a2fb_44d5_b3e1_dbde35f34ba6","value":"\"you have run out of guesses, sorry\""}],"id":"id_249b8210_1b8e_4c0a_a8d6_c5c878ef1cf6"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_96f3395d_bd34_4b8b_8eb1_204a277710cd","value":"\"you are correct!\""}],"id":"id_4ebff1d3_c670_4962_bfa5_b29a01f4b890"},"condition":"secretnumber == 4","@type":"If","id":"id_ccb362f4_0e94_4c50_8165_876223c20aab"},{"@type":"Return","id":"id_f392b953_8ae8_4e7d_9f51_3b538f0ad511","maybeValue":null}],"parameters":[]},"id":"id_a4517f41_29ff_4064_9dff_8eb9833fb212","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":1072}