Alright so I am making a rock paper scissors games and along with this game I am making a graph to show who has won more. My problem is how do I keep drawing the graph everytime someone wins?

The best thing to do in my opinion is to draw vertical columns , put the two players on the x coordinate and above each column the numbers of times they won, so try to increase a block(draw block like a square whic will acutally make a column at some time) by a defined unit when a person wins.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.