/tic-tac-toe

Dapp using Metamask for playing tic-tac-toe using the Ethereum blockchain

Primary LanguageJavaScript

Welcome to the tic-tac-toe readme!

current Smart Contract:

Address: 0xadB164ca4A38d607e7Ae89eFeB9458F73400f5BD

Archive: 0xe3b2b7399be6bf8651d30d5b78b1705fde91bc25

0x3f1c1b3b8007f6645ba6a146d4e1359e15d3d529

0x5ad4a8ae67476ff3fc40bc351faabfd6a1e88718

0x3Ef591C2a47F7d3E2f4D16A9F791df7B29E5a3C4

0xC745cF52Dc3C0F983C3785949f7A658C674F1811

0x5220a7ae2143f780F72486EDd4C072a455ff3Ba9

0xc6ce45fd3272e9b8285cc43299746a9cadcc1cc8

0x41c195bd70e3376133bfa1bb0691d2e1428d4d16

Useful link

Interact with Smart contract through web3.js: https://medium.com/zeonlab-blockchain-semantic-blog/interaction-with-solidity-using-web3-5a4f1a7166f3

Return struct and struct array: https://medium.com/@bryn.bellomy/solidity-tutorial-returning-structs-from-public-functions-e78e48efb378

Differnece between require() and assert(): https://ethereum.stackexchange.com/questions/15166/difference-between-require-and-assert-and-the-difference-between-revert-and-thro