metafy-social / web3-smart-contracts

A repository of smart-contracts in the web3 space, all in a simple and collective space of hardhat for you to refer anytime
GNU General Public License v3.0
55 stars 45 forks source link

Tic Tac Toe game - Smart Contract #111

Closed Debopom-Banerjee closed 1 year ago

Debopom-Banerjee commented 1 year ago

Is your feature request related to a problem? Please describe.

A two player tic tac toe game managed with a smart contract.

Describe the solution you'd like

There are 5 public attributes:

  1. player1-indicate address of player1
  2. player2 -indicate address of player2
  3. board- keep track of each player move and game state
  4. whosTurn-indicate which player’s turn
  5. gameOver- function that check if game is over

I want to work on this issue, please assign me.

advaita-saha commented 1 year ago

@Debopom-Banerjee go ahead