~1 min read

Tic Tac Toe Game

This is a project I’ve done while doing the freeCodeCamp to get my FCC Front End Certificate.

See the complete challenge specifics at FCC Tic Tac Toe Game.


Build a CodePen.io app that is functionally similar to this.

Fulfill the user stories. Use whichever libraries or APIs you need. Give it your own personal style.

User Stories

  1. I can play a game of Tic Tac Toe with the computer.
  2. My game will reset as soon as it’s over so I can play again.
  3. I can choose whether I want to play as X or O.


This is the solution I’ve submitted using React on CodePen.

See the Pen React Tic Tac Toe Game by Lorenzo (@lorepirri) on CodePen.

If this article was useful to you, please share it using your favorite way for doing it! If you have suggestions of improvement or you’ve found something wrong, please let me know!

You are not being tracked on this website, no analytics, no cookies taken. I am still looking for a good plugin for comments which respects people's privacy. This website is hosted by Gitlab Pages which as far as stated by their general GitLab's privacy policy terms they collects potentially personally-identifying information like Internet Protocol (IP) addresses as mentioned in this thread.