by @Thomas Grove Fork
{"functions":[],"name":"Number guessing game","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_895aca7d_2508_4cf8_8b70_8302a477a92b"},{"@type":"Declare","tpe":"Integer","name":"x","id":"id_513ac001_0240_45c5_aced_7cbe877b43a8","initValue":null},{"@type":"Declare","tpe":"Integer","name":"n","id":"id_4b865823_cda3_4469_958b_029013c0d6c8","initValue":"(35)"},{"@type":"Input","name":"x","id":"id_bdd09eda_ff39_4fad_aa7e_c5bced8077ce","prompt":"Number between 1 and 50"},{"condition":"n != x","@type":"While","id":"id_81676b83_5ac7_4df6_9b56_e46f2448b032","body":{"statements":[{"newline":true,"@type":"Output","id":"id_6b7c4a95_b669_4559_8f8e_e7d7e8d0dcab","value":"\"wrong\""},{"@type":"Input","name":"x","id":"id_67fa736b_f773_412e_a2ed_29bc5a72ddcb","prompt":null}],"id":"id_20e8fce0_ad6e_4789_b328_895a041c9431"}},{"newline":true,"@type":"Output","id":"id_de6a248a_5b0e_4d9d_94bc_e12d6236c72a","value":"\"CORRECT you are a certified genius!\""},{"@type":"Return","id":"id_ed895418_43ab_4046_a9f7_9d685c973dc8","maybeValue":null}],"parameters":[]},"id":"id_1b679b0a_d204_4129_bc3d_4bbeebf55f24","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":174}