What it does
Tic-Tac-Toe is a simple and popular strategy board game that is typically played by two players. The game board consists of a 3x3 grid, and players take turns placing their respective markers on empty squares with the goal of forming a line horizontally, vertically, or diagonally.
How we built it
- The Tic-Tac-Toe board is a 3x3 grid with a total of 9 positions for players to place their markers.
- Player 1 uses "X" as their marker, and Player 2 uses "O".
- The game starts with an empty board, and Player 1 goes first.
- Each player takes turns selecting an empty square and placing their marker on that position.
- Players try to form a line horizontally, vertically, or diagonally to win the game.
- If the board becomes full and no player has formed a line, the game ends in a draw.
- If any player successfully forms a line, they win the game.
- The game can be restarted once it is finished.
Challenges we ran into
the way the design the
Accomplishments that we're proud of
What we learned
how to write the smart contract and use the chainlink tool
Log in or sign up for Devpost to join the conversation.