Two reasons: (1) it's annoying to test with multiple files because my browsers cache separate js files, and I have to remember to clear my cache before every test, otherwise my code changes don't take effect (2) shareware is easier to deploy as a single file rather than a folder
1 deposit transaction 9 while each player takes a turn marking the board 1 withdrawal transaction So there are 11 transactions in the most expensive case The middle 9 transactions are skipped if there is no dispute, leaving only 2 transactions, a deposit and a withdrawal