• Hackathons
  • Features
  • Blog

Tic tac toe game with FE

I implemented the 3X3 tic tac toe game with FE LANG smart contract

  • 58,000 Raised
  • 5 Juries


  • Application Track



This project is for the application track.

I build the tic-tac-toe game with FE lang.

The UI part of the game is written in Python, while the game's win/loss and round judgments, as well as the determination of whether the game has ended, are implemented in a blockchain smart contract written with FE lang.

Please check my github repository with all the source code and the readme to launch the game and the blockchain locally: 
I have also a demo video:

Thanks a lot:)

There is the rule of the game:

Tic-Tac-Toe Game Rules (3x3 Grid)

1.Objective: The main goal of Tic-Tac-Toe is to get three of your own marks (either X or O) in a row, column, or diagonal on a 3x3 grid.

2.Players: The game is played by two players. One player uses the X mark, and the other uses the O mark.

3.Game Start: Players decide who goes first, often through a random method like a coin toss. The first player uses the X mark.

4.Taking Turns: Players take turns to place their mark (X or O) in an empty square of the grid. No player can skip a turn, and once a mark is placed, it cannot be moved or replaced.

5.Winning the Game: A player wins if they manage to place three of their marks in a horizontal, vertical, or diagonal line.

6.Draw or Tie: If all nine squares are filled and neither player has 3 marks in a line, the game is declared a draw or a tie.

7.Game End: The game ends when one player wins by getting three of their marks in a line or when all squares are filled, resulting in a draw.