When I voted candidate for the first time, I can see that the vote result change to 1 to the person I've voted for. But when I do another vote, the vote result doesn't add up. Please help me I'm a student and I'm new to this MIT stuff :")) Don't mind some of the necessary items such as canvas because I just want to fulfill my assignment requirement haha. and also sorry for the no-effort interface because I want to finish my blocks before adding proper colors, indent and stuff.
So firstly my idea is you have to enter ID number and then go vote. After that to test whether the vote counts increase or not, you need to vote the SAME PERSON for the second time. Then after that you click the Admin button on Screen1 and enter the username "Admin" and pass "123456" and SUPPOSEDLY the vote result will become 2 for the selected person. I hope someone can lend me a help..
And then I retrieve the vote result from the data that is saved in TinyDB (in the DCSMPPVoting screen) using different tags that assigned for each candidates (ex : NumOfVotesMPP1 , NumOfVotesMPP2)