top of page

LEVEL 1

 Let us get started with this awesome TicTacToe Sophia smart contract !!!

By now, since you already have familiarity with writing Sophia smart contracts, we will only share the variable names and instuctions.

​

You can try out the steps and check the solution on the right.

Here are the first 3 steps to get started:

1. Create a contract named TicTacToe

2. Create a record state containg "numGame"(int), "playerId"(address), "gameDetails"(map of int and game), "playerDetails" (map of address and player)

Try Code
Show Solution
bottom of page