Sorry I am sending so many messages, but I have a piece of code that is annoying me beyond words to describe.
I have been working on making things like the number of players, number of slots, and beans per slot adjustable, then I am going to move on to enforce game rules.
But the code that is getting in my way is the fact that I cannot make the array's values change.
I managed to assign the values in each slot initially, but I can't get them to change when the player chooses to remove beans. I can't figure out why the values are staying the same.
I have this as my code in the trouble area.