{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_72c241a0_e040_49c2_9dc2_e64b675bbb16"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"numeroSegreto","lengthValue2":"5","id":"id_f4731eba_51b5_4ea0_af05_c697c8335921","initValue":"randomInt(100)"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"tentativo","lengthValue2":"5","id":"id_f68796fa_030e_4498_8da9_c2fd9cfed4b4","initValue":null},{"newline":true,"@type":"Output","id":"id_f07e377e_de8a_4bd1_a09e_bf4a5388e302","value":"\"Giochiamo: prova ad indovinare il numero segreto! Ricorda che è compreso tra 0 e 100\""},{"@type":"Input","name":"tentativo","id":"id_7becf2af_dbdb_40c4_acb1_54e02172f2f7","prompt":null},{"condition":"numeroSegreto!=tentativo","@type":"While","id":"id_87465465_8d7b_4f45_a595_71a1827545e7","body":{"statements":[{"newline":true,"@type":"Output","id":"id_56d3ff6b_6375_4120_97a5_74f15814bf0b","value":"\"Mi dispiace ma \" + tentativo + \" non è il numero segreto! Riprova.\""},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_a5704322_b6fa_47be_b676_b3322bd8211f","value":"\"Pssst: prova un numero più grande.\""}],"id":"id_ffa2072f_04f8_40d1_af32_dd8546cdbac1"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_3f95a41b_023d_488f_9c36_69dd9d5e9add","value":"\"Pssst: prova un numero più piccolo.\""}],"id":"id_f223c70e_3c53_47ea_896c_8f98d93c8fe2"},"condition":"tentativo>numeroSegreto","@type":"If","id":"id_06feda12_df63_4bca_9d61_5e568efce481"},{"@type":"Input","name":"tentativo","id":"id_301e42fb_4773_411c_a2b2_60d3353270d3","prompt":null}],"id":"id_93f49100_6d01_493b_b166_81b10e552b2d"}},{"newline":true,"@type":"Output","id":"id_c619a1bd_ea50_4e70_bd1b_f1b09c7a6c6d","value":"\"Bravissimo! Il numero segreto è proprio \" + numeroSegreto + \"!\""},{"@type":"Return","id":"id_45db83c8_286b_49c0_82b8_ab75d4502c9e","maybeValue":null}],"parameters":[]},"id":"id_61c485aa_d312_4b81_8024_9415b7ca376a","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":520}