Inspiration

I wanted to learn the Tkinter Python library and its uses. Also, the Day2 challenge of LHD: Build was to build a similar game as I did.

What it does

Tic-tac-toe is a paper-and-pencil game for two players, X and O, who take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row is the winner.

How we built it

Tkinter Python library is used to create the GUI. Two options are available to play the game, along with the system or with another player.

A small winning strategy is used to play with the system. The system will try to find the best place to put its naught or cross by which the system will win or try to stop players to win.

Accomplishments that we're proud of

  • Successfully built this game and completed the Day2 challenge as well.
  • Learned methods of Tkinter library

What we learned

  • Learned methods of Tkinter library

Built With

Share this project:

Updates