by @Riccardo Rossi Fork
{"functions":[],"name":"giochetto","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_b9dd9589_1a49_4b8b_acf4_0169ff34390c"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"numeroSegreto","lengthValue2":"5","id":"id_9da2bd13_2554_46b1_b83b_3d9568315813","initValue":"randomInt(10)"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"tentativo","lengthValue2":"5","id":"id_8599ab8e_59e9_462b_bfc4_512956d441a3","initValue":null},{"newline":true,"@type":"Output","id":"id_18c7f946_7fa8_4fec_b065_81b6fa05a277","value":"\"inserisci il numero\""},{"@type":"Input","name":"tentativo","id":"id_77cb16fa_9b69_4130_aaff_9b19c580e6e7","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_f6b1f3ff_1380_42f1_9988_cdcdaaa8c730","value":"\"Mi dispiace ma\" + tentativo + \" non è il numero segreto\""}],"id":"id_5e34d26f_bb54_417a_a982_6269efc16707"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_4b4af0eb_9083_40da_a725_21fa9719dd14","value":"\"complimenti il numero segreto è\" + numeroSegreto"}],"id":"id_2220fb61_8938_4334_b148_dc6b24501db6"},"condition":"tentativo == numeroSegreto","@type":"If","id":"id_953b4836_6883_4433_b154_2b9cf84f0418"},{"@type":"Return","id":"id_aae6bf42_7a16_4998_98ba_a1d65ed0e189","maybeValue":null}],"parameters":[]},"id":"id_dd7c5cae_ee1c_45dd_8c64_28ef82b8d4c3","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":true},"version":"0.3","revision":647}