Hey Everyone! I was a little bored today so I created this simple calculator. Basically what you need to do is to input the number of players at the start of the round, and then the program will calculate the table's values using a set of simple formulas. Don't be afraid of all those code lines, they will magically disappear once you open this in your web browser. Windows will usually open the HTML file by default with your web browser, but if that's not the case, just open it manually with your web browser. I might update this program in the future, but for now, feel free to write down your opinions, thoughts, comments and suggestions for this program and ideas for other programs as well.
Only problem with this is if you input 1, 2 or 3, the chances of "traitor" are 0%, rather than the actual stats of 100%, 50% and 33%.
You are right, I will fix it. Basically the problem is that the program is using the general algorithm, which would work as it should with values above 3 .
Update: Added the textboxes for the number of players that bought Traitor and Detective round. Download The New Version Here