by @Hani Khan Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_354f28b9_90df_4d58_849a_f9ca229ebfa1"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"player1score","lengthValue2":"5","id":"id_3385679b_da42_420f_920f_7762e1263008","initValue":null},{"@type":"Assign","name":"player1score","id":"id_47d42554_1404_4a6b_9a12_0266c97a08e0","value":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"player2score","lengthValue2":"5","id":"id_5a931d58_8eb9_45b7_94c1_687cb134f19d","initValue":null},{"@type":"Assign","name":"player2score","id":"id_cb5b7cfe_35e5_4a7e_a5de_f8b589433fcb","value":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"round","lengthValue2":"5","id":"id_47cf95a9_1794_4a7d_a07b_36bcad14aec6","initValue":null},{"@type":"Assign","name":"round","id":"id_2a2ab002_3919_429d_9646_d241ebffb029","value":"1"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"player1choice","lengthValue2":"5","id":"id_b6bbb6e0_0423_4680_aa81_dbea35f20d01","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"player2choice","lengthValue2":"5","id":"id_4013d67c_0032_47ca_86d9_cd7d8699aead","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"maxRound","lengthValue2":"5","id":"id_3e16bb65_590a_42c1_8cf8_efcee4ee9a97","initValue":null},{"@type":"Assign","name":"maxRound","id":"id_078baf33_ece2_4bd8_85ed_eb5bb41346e2","value":"5"},{"condition":"round<= maxRound","@type":"While","id":"id_b2ef1dc8_a3f2_4036_9094_3c067bb7fc9d","body":{"statements":[{"newline":true,"@type":"Output","id":"id_ed7b2ad6_6cea_4038_9ad3_b0f0e546a3c2","value":"\"Round \"+ round"},{"@type":"Input","name":"player1choice","id":"id_dc9c0304_a739_40c1_9044_30b7cd8aedfd","prompt":null},{"@type":"Input","name":"player2choice","id":"id_4bc7e1e8_c678_49c4_a33e_9d1c676ea588","prompt":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"@type":"Assign","name":"player2score","id":"id_2f71faaa_835b_46ab_9f8b_48e479bea793","value":"player2score + 1"},{"newline":true,"@type":"Output","id":"id_f3f2cec7_d670_4d96_aa9c_bd5a618da57a","value":"\"Player 2 wins the Round With \"+ player2score +\" score\""}],"id":"id_6abf6648_7ef1_4574_8ee1_88f829fdbd59"},"trueBlock":{"statements":[{"@type":"Assign","name":"player1score","id":"id_709621ae_246c_49a7_8da2_b01946279d3c","value":"player1score +1"},{"newline":true,"@type":"Output","id":"id_7341c4d9_e0d0_4012_88f7_1f1f11e5d975","value":"\"Player 1 wins with Spock With! \" + player1score + \" score\""}],"id":"id_ddbe6cc2_179e_4537_be5d_b8d0f3f0fb3a"},"condition":"player1choice==\"spock\" && (player2choice==\"scissors\"||player2choice==\"rock\")","@type":"If","id":"id_b535ef6e_da67_4b98_a2be_9f6ad1366bfe"}],"id":"id_a29cddc5_53f0_49cf_9a1c_1c057ba6b71e"},"trueBlock":{"statements":[{"@type":"Assign","name":"player1score","id":"id_4ead5ac8_f564_4fe0_b7bf_0e61a4c743ff","value":"player1score+1"},{"newline":true,"@type":"Output","id":"id_4d6fd654_c568_4f50_9ae0_1ab30416aff3","value":"\"Player 1 wins with Lizard With! \" + player1score + \" score\""}],"id":"id_b8ecb348_8ae9_4304_a3e7_058b1b788a02"},"condition":"player1choice==\"lizard\" && (player2choice==\"paper\"||player2choice==\"spock\")","@type":"If","id":"id_5c33f485_b0aa_4854_a840_230ae69f4f46"}],"id":"id_e40caaac_3948_47ad_b1d1_8596bb3e9123"},"trueBlock":{"statements":[{"@type":"Assign","name":"player1score","id":"id_87049d63_b4e0_49c8_b6d8_c5ace493d81c","value":"player1score+1"},{"newline":true,"@type":"Output","id":"id_6dc5f9b7_0671_4a01_b1c1_c8721c45fc59","value":"\"Player 1 wins with Scissors With! \" + player1score + \" score\""}],"id":"id_252925ec_22a4_437b_a571_1fa4c56e1742"},"condition":"player1choice==\"scissors\" && (player2choice==\"paper\"||player2choice==\"lizard\")","@type":"If","id":"id_63c5d5f0_ac18_4024_85e8_a1c0bf62aec3"}],"id":"id_e8fe231b_cb51_4817_b5a9_8aaa6b0f38aa"},"trueBlock":{"statements":[{"@type":"Assign","name":"player1score","id":"id_32f9992e_2bc9_4127_8e59_844ec3e9fab6","value":"player1score + 1"},{"newline":true,"@type":"Output","id":"id_483c0f41_b030_41c1_bc28_a43ef1ffa917","value":"\"Player 1 wins with Paper With! \" + player1score + \" score\""}],"id":"id_3ede91af_baea_4b77_80f2_5490c11033e2"},"condition":"player1choice==\"paper\" && (player2choice==\"rock\"||player2choice==\"spock\")","@type":"If","id":"id_5c507790_973c_49ea_b2d1_81e82ad876f5"}],"id":"id_4957459e_b543_4ac5_b7e5_424e340ef7a9"},"trueBlock":{"statements":[{"@type":"Assign","name":"player1score","id":"id_164dbaf1_748c_4e07_a9d8_9117c265b8c7","value":"player1score+1"},{"newline":true,"@type":"Output","id":"id_9f070fcb_fe10_4440_9efe_796efdcf77e3","value":"\"Player 1 wins with Rock With! \" + player1score + \" score\""}],"id":"id_6621d445_f3bb_4adb_a35c_cacb739f0ebd"},"condition":"player1choice==\"rock\"&& (player2choice==\"scissors\" || player2choice==\"lizard\")","@type":"If","id":"id_827eca89_e523_4746_84a9_4033192577ff"}],"id":"id_56f405e4_15e5_4668_bad4_94312ecc13c0"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_ed604a01_25a0_4fa3_8bf7_a26e0c896ddb","value":"\"It's Tie\""}],"id":"id_006b4d99_60ae_4526_b17b_33d8471c857e"},"condition":"player1choice==player2choice","@type":"If","id":"id_e8e554e3_6954_46a3_88bf_624e3d821487"},{"@type":"Assign","name":"round","id":"id_4a84763e_79a7_46cf_b1d2_3faed87a7230","value":"round+1"}],"id":"id_9a8c820d_4315_4182_9000_0521a7177d12"}},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_da168ca1_6963_4bfc_9793_65d686a33ec9","value":"\"The Overall Game is Tie!\""}],"id":"id_1411374d_3def_47b7_9675_91dc2dee8963"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_6c559c63_b9ca_48f0_8d63_22b97e36236e","value":"\"Player 2 wins the Game With \"+player2score + \" score\""}],"id":"id_711d2fd3_c830_47d4_83bc_a0d5fddb4ea7"},"condition":"player2score > player1score","@type":"If","id":"id_f5c97b4d_7b97_472c_b251_033eddbabc78"}],"id":"id_8124eea7_9003_4aee_89df_a92b2e44a307"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_5574f666_bb13_4b36_938b_ecc288ab68d4","value":"\"Player 1 Wins the Game With \"+player1score+ \" score\""}],"id":"id_08979c73_1c02_4f71_a7b3_d4cb8813d885"},"condition":"player1score > player2score","@type":"If","id":"id_5b510bd4_8c1e_41eb_9ee5_f22f9c86fd23"},{"@type":"Return","id":"id_874f1c91_2e94_4438_a7bb_51187282ae80","maybeValue":null}],"parameters":[]},"id":"id_20c29356_1396_4ae4_88da_c42bee5c214e","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":1325}