Bitvm Crash Course

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ก.พ. 2024
  • Learn how bitvm works and view/test/build-your-own example of tic tac toe as a bitvm app

ความคิดเห็น • 6

  • @MrCoreyTexas
    @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?

    • @highlevelbitcoin
      @highlevelbitcoin  3 วันที่ผ่านมา +1

      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

  • @gleleylo
    @gleleylo 3 หลายเดือนก่อน

    How many transactions for a whole game should be done on chain in a worst case?

    • @highlevelbitcoin
      @highlevelbitcoin  3 หลายเดือนก่อน +1

      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

    • @gleleylo
      @gleleylo 3 หลายเดือนก่อน

      ​@@highlevelbitcoinisn't "accept" transactions are also needed for each turn?