by @Jake Bowden Fork
{"functions":[],"name":"Guess the Number","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_fd8d19d5_dbd6_4afd_8b88_c39954f91e1d"},{"@type":"Declare","tpe":"Integer","name":"secret","id":"id_a09eb550_c699_4a75_8763_31116b8cee0c","initValue":"23"},{"@type":"Declare","tpe":"Integer","name":"x","id":"id_18db5082_efc2_4d83_bd9d_4f30110457c4","initValue":null},{"@type":"Input","name":"x","id":"id_ffe8e6ed_cb4c_491f_8f19_520c2fa40d40","prompt":null},{"condition":"x<secret","@type":"While","id":"id_832d5af9_8f4b_4cbd_8e33_825f1aa277df","body":{"statements":[{"newline":true,"@type":"Output","id":"id_00140dd9_3500_4642_9a17_e9e75be8abf9","value":"\"try again\""},{"@type":"Input","name":"x","id":"id_ae9c1615_c5e2_4d5e_b81a_31379e5b5de3","prompt":null}],"id":"id_dbe8942e_1f25_4241_b3b6_ad2216de90c1"}},{"condition":"x>secret","@type":"While","id":"id_d1dea86c_a57e_4674_975f_c95bff55fa46","body":{"statements":[{"newline":true,"@type":"Output","id":"id_0292631d_08e2_4efa_9659_09900b115cd8","value":"\"try again\""},{"@type":"Input","name":"x","id":"id_a4a2e892_efe3_4b15_84fd_71f6e6e31ff9","prompt":null}],"id":"id_23f59346_2c40_4ee7_8833_5f0aa746981e"}},{"newline":true,"@type":"Output","id":"id_70d6fde7_f608_45fe_8fe6_f31ddfe7b683","value":"\"Congratulations- You guessed it\""},{"@type":"Return","id":"id_f8fd0d7d_349f_4690_a369_1a271ea30baa","maybeValue":null}],"parameters":[]},"id":"id_19bd8e04_f70c_4a39_b8c4_67217bb59639","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":164}