by @Tomiyo Aranmolate Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_61888895_078c_4ae4_a589_3d83f8b22530"},{"@type":"Declare","tpe":"Integer","name":"secret","id":"id_06426c4d_0349_412b_a7c9_fb751b6af3dc","initValue":"17"},{"@type":"Declare","tpe":"Integer","name":"guess","id":"id_6513dfac_9bb2_4f1e_83d0_51774b175f25","initValue":null},{"@type":"Assign","name":"guess","id":"id_0815bda4_97c7_4c1e_9e0e_0834ae751971","value":"0"},{"condition":"guess!=secret","@type":"While","id":"id_f59ae9ca_094c_449b_ada1_a9486d96820a","body":{"statements":[{"newline":true,"@type":"Output","id":"id_bdc73706_4f74_4619_aa82_0aae95714a80","value":"\"Guess a number between 1-20\""},{"@type":"Input","name":"guess","id":"id_1540226f_c900_46b9_a8b4_ddf020dd1078","prompt":"Please input a guess?"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_e06078fb_1b22_4528_aca0_b36aa7604180","value":"\"You got it wrong. Try again.\""}],"id":"id_d002e981_fc69_4e18_bda9_96ceb1836697"},"trueBlock":{"statements":[],"id":"id_ecead82d_1a60_4804_be51_f0d77379afc0"},"condition":"guess==secret","@type":"If","id":"id_b171dd24_c4b2_4b9a_95a1_ff2e51f2131a"}],"id":"id_349ba392_4b38_45b1_8ea9_9909bb296706"}},{"newline":true,"@type":"Output","id":"id_fd1003e0_534a_490b_be59_c537fa105400","value":"\"You got it correct\""},{"@type":"Return","id":"id_2cc36050_c789_4eb5_b4ab_de5063d9a18b","maybeValue":null}],"parameters":[]},"id":"id_32f2373d_2103_4c03_a889_eee18df57cca","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":279}