Anonymous user
Rock-paper-scissors: Difference between revisions
m
→{{header|Ruby}}
(Added tiny Minimal BASIC program) |
|||
Line 1,252:
end
end
print "H: #{answer}, "▼
answer
end
Line 1,268 ⟶ 1,267:
end
end
end
Line 1,277 ⟶ 1,274:
h = humanPlay
c = computerPlay
# only update the human player's history after the computer has chosen
|