Learn how bitvm works and view/test/build-your-own example of tic tac toe as a bitvm app
Пікірлер: 6
@MrCoreyTexasАй бұрын
I can only imagine how many combinations you'd have for games like checkers, chess, and go!
3 күн бұрын
Cool demo! But quick question: why not using js files for the code instead of putting it all in the html page?
@highlevelbitcoin3 күн бұрын
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
@gleleylo3 ай бұрын
How many transactions for a whole game should be done on chain in a worst case?
@highlevelbitcoin3 ай бұрын
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
@gleleylo3 ай бұрын
@@highlevelbitcoinisn't "accept" transactions are also needed for each turn?