i know how to make an array but i cant figure out how to update it to track the wins and losses of a game
thats my array i cant think of the code to keep track all i can think of is
or should i make 3 arrays like "win_array", "loss_array", "tie_array" and go that route
and thanks for any help that anyone givs
track_array = ["wins", "losses", "ties"]
thats my array i cant think of the code to keep track all i can think of is
if win "win" + 1 elsif loss "loss" + 1 elsif tied "ties" + 1 end
or should i make 3 arrays like "win_array", "loss_array", "tie_array" and go that route
and thanks for any help that anyone givs