I’m looking to create a program or even a website where you’re presented with two options (let’s say apples and oranges), you would pick one, and the other would swap to another fruit. So now it’s oranges vs cherries, you pick oranges again, it goes to orange vs pineapple ect.
It would also limit the amount of time your king maker spot would be full, so after 5 successive picks of the same thing, it would swap both.
Then at the very end it would create a tier list ranked 1-??? In order of your favorite fruit.
I have limited programming knowledge and I’m not looking for anyone to program for me, but could someone point me in the right direction?
Should I use arrays and a random picker in JavaScript for a website? Same but for an application in Java? If I have an array of fruit, is it possible to attach another value to it that incriminates up by one every time it’s chosen? Then you could display the list in order from a high-low value.
I am also wanting to attach images to these, which I’m not sure is possible if I also want them to have an internal value that ticks up.