by @stud. Mattia Sportelli Fork
{"functions":[],"name":"hog rider","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_1ff27ba0_57b3_4e2f_ac11_fda23ed69f69"},{"@type":"Declare","tpe":"Integer","name":"x","id":"id_935c58b1_1f39_4f36_903d_4952f3e12ee5","initValue":"randomInt(2)+1"},{"@type":"Declare","tpe":"Integer","name":"y","id":"id_0cb0fd8b_fcf5_4b74_9a08_421e4fac0cac","initValue":null},{"condition":"y !=x","@type":"DoWhile","id":"id_11d4641e_0f6e_4814_a42a_97179f1ae058","body":{"statements":[{"@type":"Input","name":"y","id":"id_ded639a0_ca0c_4b7d_9c92_944e23a27972","prompt":null}],"id":"id_ba2d3ff6_ffaa_436f_8910_5749394eb527"}},{"newline":true,"@type":"Output","id":"id_b415387b_8373_46f5_a87c_02f4c356e93d","value":"\"chill\""},{"@type":"Return","id":"id_19ee725a_9bbd_48a4_adc4_429063d91ff0","maybeValue":null}],"parameters":[]},"id":"id_289d4ca3_827d_4f92_afa8_0c015b0b1593","config":{"showDebugVars":true,"showFunctions":true,"lang":"javascript","showGenCode":true},"version":"0.2","revision":146}